blob: 9b978ffd43b571219a48d5b12e2f4e069409f550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clc
clear
printf('example 1.6 page number 27 \n\n')
//to find vapor pressre of ethyl alchohal
pa1 = 23.6; //VP of ethyl alchohal at 10 degree C
pa3=760 //VP of ethyl alchohal at 78.3 degree C in mm Hg
pb1 = 9.2 //VP of ethyl water at 10 degree C in mm Hg
pb3=332 //VP of ethyl water at 78.3 degree C in mm Hg
C=(log10(pa1/pa3)/(log10(pb1/pb3)));
pb2=149 //VP of water at 60 degree C in mm Hg
pas=(pb3/pb2);
pa=C*log10(pas);
pa2=pa3/(10^pa);
printf("vapor pressure of ethyl alcholoh at 60 degree C = %f mm Hg",pa2)
|