summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.29/18_29.sce
blob: 02926a1c072b2dc8938c31140071aff77889e915 (plain)
1
2
3
4
5
6
7
8
//ques-18.29
//Determining temperature at which water will boil when atmospheric pressure is 528mm Hg
clc
P1=528; P2=760;//pressure (in mm Hg)
H=545.5;//latent heat of vapourisation (in cal/g)
T2=273+100;//temperature (in K)
T1=1/((log10(P2/P1)*2.303*1.987)/(H*18)+(1/T2));
printf("The temperature required is %.0f K.",T1);