summaryrefslogtreecommitdiff
path: root/581/CH11/EX11.6/Example11_6.sce
blob: f1cbeebb2654ffc9f23035a9d5655ee4c1b6bcb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13


clear ;
clc;

printf("\t Example 11.6\n");
T1=263.15;          //temp.of ice,K

Pv=exp(21.99-6141/(T1));    //vapor pressure,KPa
xw=Pv/101.325;    //mole fraction of water
mw=xw*18.02/(xw*18.02+(1-xw)*28.96);    //mass fraction
printf("\t mass fraction of watervapor above the surface of ice is :%.5f\n",mw);
//end