summaryrefslogtreecommitdiff
path: root/2735/CH9/EX9.5/Ex9_5.sce
blob: ec5d135163b980d83b41afcd3ea837c78c302717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear
//Initialization of variables
P=1460 //psia
T=135 //F
P2=700 //psia
//calculations
disp("From mollier chart,")
h=120 //Btu/lbm
x=0.83
//results
printf("enthalpy = %d Btu/lbm",h)
printf("\n Qulaity = %.2f",x)