import math
#initialisation of variables
R=1.987 #in cal /mole K
T=100.0 #in Celsius
M1=18.02 #in gms
Hvap=539.7 #cal gˆ−1
#CALCULATIONS
Kb=R*(273.1+T)**2*M1/(1000*M1*Hvap)
#RESULTS
Kb=round(Kb,3)
print 'molal boiling point constant=',Kb,'f deg molalˆ−1'
import math
#initialisation of variables
Kb=2.53 #in deg molalˆ−1
w2=1 #in gms
Tb=0.3 #in Celsius
w1=50 #in gms
#CALCULATIONS
M2=Kb*w2*1000/(Tb*w1)
#RESULTS
M2=round(M2,2)
print 'molecular weight of dinitrozene =',M2,'g moleˆ−1'
import math
#initialisation of variables
mu=5.0 #in gms
Mu=60.06 #in gms
mw=75.0 #in gms
#CALCULATIONS
Tb=0.513*mu*1000/(Mu*mw)
#RESULTS
Tb=round(Tb,3)
print 'boiling water of a solution=',Tb,'deg'
import math
#initialisation of variables
R=1.987 #in cal moleˆ−1 Kˆ−1
T=0 #in Celsius units
M=18.02 #in gms
Hf=79.7 #in cal gˆ−1
#CALCULATIONS
Kf=R*(273.1+T)**2*M/(1000*M*Hf)
#RESULTS
Kf=round(Kf,3)
print 'Kf of water=',Kf,'deg molalˆ−1'
import math
#initialisation of variables
M=18.02 #in g moleˆ−1
d=0.99564 #in g/ cc
R=0.08205 #in l−atm degˆ−1 moleˆ−1
T=30 #in Celsius
P1=31.824 #in mm
P10=31.207 # in mm
#CALCULATIONS
p=R*(273.15+T)*2.303*1000*d*math.log10(P1/P10)/M
#RESULTS
p=round(p,3)
print 'osmotic pressure of sucrose solution=',p,'atm'
import math
#initialisation of variables
R=0.082 #in l−atm / mol ˆ−1 Kˆ−1
T=30 #in C
V=1 #in litres
#CALCULATIONS
p=R*(273.15+T)/V
#RESULTS
p=round(p,2)
print 'osmotic pressure of sucrose solution=',p,'atm'