Chapter1-Atomic Theory

Ex1-pg15

In [4]:
import math
##Intitalisation of variables
#calculate the Molecular weight of carbon dioxide
dco= 1.9635 ##gms/lit
do= 1.4277 ##gms/lit
mo= 32. ##gms
##CALCULATIONS
mwt= dco*mo/do
##RESULTS
print'%s %.2f %s'% ('Molecular weight of carbon dioxide =  ',mwt,'')
Molecular weight of carbon dioxide =   44.01 

Ex2-pg16

In [3]:
import math
##Intitalisation of variables
#calculate the atomic weight of lead
shl= 0.031 ##cal deg^-1 g^-1
ewlc= 103.605 ##gms
n= 2.
##CALCULATIONS
aw= n*ewlc
##RESULTS
print'%s %.2f %s'% ('Atomic weight of lead = ',aw,' gms')
Atomic weight of lead =  207.21  gms

Ex3-pg17

In [2]:
import math
##Intitalisation of variables

ewt= 17.337 ##gms
n=3.
##CALCULATIONS
aw= ewt*n
##RESULTS
print'%s %.2f %s'% ('Atomic weight of chromium = ',aw,' gms')
Atomic weight of chromium =  52.01  gms