Answer:
Yes, i mean come at me lol
Explanation:
A horse is much percent more powerful than a pony by 1000
Answer:
Don’t know lol but look it up on g00gle and she will have the answr
Explanation:
The given decimal values are converted to octal and hexadecimal.
Explanation:
a. The converted octal value of 111010110001.0112 decimal number is 1473055755061.00557000643334272616
The converted hexadecimal value of 111010110001.0112 decimal number is 19D8B7DA31.02DE00D1B71758E21965
b. The converted octal value of 10110011101.112 decimal number is 113246503335.07126010142233513615
The converted hexadecimal value of 10110011101.112 decimal number is
25A9A86DD.1CAC083126E978D4FDF4
a. while converting back from octal to decimal the value is 111010110001.01119999999999999989
b. while converting back from octal to decimal the value is
10110011101.11199999999999999973
Hence both the values changes while we convert from octal to decimal.
Answer:
see explaination for program code
Explanation:
scalar_product = 0
li=[]
li2=[]
#reading numbers1.txt and numbers2.txt intoli and li2 respectively
with open('numbers1.txt') as n1, open('numbers2.txt') as n2:
for line1 in n1:
li.append(int(line1))
for line2 in n2:
li2.append(int(line2))
#storing min list size into variable l
a=len(li)
b=len(li2)
if a<b:
l=a
else:
l=b
#calculating scalar product
for i in range(l):
scalar_product=scalar_product+li[i]*li2[i]
print("scalar product is",scalar_product)