summaryrefslogtreecommitdiff
path: root/2837/CH10/EX10.5/Ex10_5.sce
blob: 068cba5c39b7e7ddff10b547a1b659b9afe70e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
clear
//Initialization of variables
disp("From table 2 of keenan and keynes,")
p1=1 //in of Hg
s=1.9812 
//calculations
sf=2.0387
sfg=1.9473
y=-(s-sf)/sfg
//results
printf("The state is %d in of Hg with a moisture content of %.2f percent",p1,y*100)