Chapter - I : Introduction to powers of 10

Example No. I_9 Page No. 9

In [24]:
# Add 170*10**3 and 23*10**4. Express the final answer in scientific notation.

# Given data

A = 170*10**3#       # Variable 1
B = 23*10**4#        # Variable 2

C = A+B#
print 'The addition of 170*10**3 and 23*10**4 =%0.2E'%C
The addition of 170*10**3 and 23*10**4 =4.00E+05

Example No. I_10 Page No. 9

In [25]:
# Substract 250*10**3 and 1.5*10**6. Express the final answer in scientific notation.

# Given data

A = 1.5*10**6#       # Variable 1
B = 250*10**3#       # Variable 2

C = A-B#
print 'The substraction of 250*10**3 and 1.5*10**6 =%0.2E'%C
The substraction of 250*10**3 and 1.5*10**6 =1.25E+06

Example No. I_11 Page No. 10

In [26]:
# Multiply 3*10**6 by 150*10**2. Express the final answer in scientific notation.

# Given data

A = 3*10**6#         # Variable 1
B = 150*10**2#       # Variable 2

C = A*B#
print 'The multiplication of 3*10**6 by 150*10**2 =%0.2E'%C
The multiplication of 3*10**6 by 150*10**2 =4.50E+10

Example No. I_12 Page No. 10

In [27]:
# Divide 5.0*10**7 by 2.0*10**4. Express the final answer in scientific notation.

# Given data

A = 5.0*10**7#       # Variable 1
B = 2.0*10**4#       # Variable 2

C = A/B#
print 'The division of 5.0*10**7 by 2.0*10**4 =%0.2E'%C
The division of 5.0*10**7 by 2.0*10**4 =2.50E+03

Example No. I_13 Page No. 10

In [28]:
# Find the reciprocals for the following powers of 10: (a) 10**5 (b) 10**-3.

# Given data

A = 10**5#       # Variable 1
B = 10**-3#      # Variable 2

C = 1./A#
print 'The reciprocal of 10**5 =%0.2e'%C
print 'i.e 10**-5'

D = 1./B#
print 'The reciprocal of 10-3 = %0.2e'%D
print 'i.e 10**3'
The reciprocal of 10**5 =1.00e-05
i.e 10**-5
The reciprocal of 10-3 = 1.00e+03
i.e 10**3

Example No. I_14 Page No. 11

In [29]:
# Square 3.0*10**4. Express the answer in scientific notation.

# Given data

A = 3.0*10**4#       # Variable 1

B = A*A#
print 'The square of 3.0*10**4 =%0.2E'%B
The square of 3.0*10**4 =9.00E+08

Example No. I_15 Page No. 11

In [30]:
from math import sqrt
# Find the squareroot of 4*10**6. Express the answer in scientific notation.

# Given data

A = 4*10**6#       # Variable 1

B = sqrt(A)#
print 'The squareroot of 4*10**6 = %0.2E'%B
The squareroot of 4*10**6 = 2.00E+03

Example No. I_16 Page No. 12

In [31]:
from math import sqrt
# Find the squareroot of 90*10**5. Express the answer in scientific notation.

# Given data

A = 90*10**5#       # Variable 1

B = sqrt(A)#
print 'The squareroot of 90*10**5 =%0.2E'% B
The squareroot of 90*10**5 =3.00E+03

Example No. I_17 Page No. 12

In [32]:
# Show the keystrokes for multiplying 40*10**-3 by 5*10**6.

# Given data

A = 40*10**-3#       # Variable 1
B = 5*10**6#         # Variable 2

C = A*B#
print 'The multiplication of 40*10**-3 by 5*10**6 =%0.2f'%C
print 'i.e 200.000*10**03 OR 200E03'
The multiplication of 40*10**-3 by 5*10**6 =200000.00
i.e 200.000*10**03 OR 200E03