summaryrefslogtreecommitdiff
path: root/2465/CH4/EX4.15/Example_15.sce
blob: 95bcb4a40e0c31616e8881cda6d65daceebb4fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Chapter-4,Example 15,Page 96
clc;
close;

P1= 528   // pressure in mm of Hg

P2= 760   // pressure in mm of Hg

T2=100+273   //teperature in Kelvin

delta_Hv= 545.5 *18    // latent heat of vapourisation of water in J/mol

R= 1.987  //gas constant

//from the integrated form of Clausius-Clapeyron equation

T1= 1/((log10(P2/P1)*2.303*R/delta_Hv)+(1/T2))

printf('the temperature of water is %.f K',T1)