summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.14/Ex5_14.sce
blob: e13258d30ff05b850f54bec2f0d85ee9f4adc265 (plain)
1
2
3
4
5
6
7
8
9
10

clc
//initialisation of variables
hi=143.6 //Btu/lbm
he=53.8 //Btu/lbm
xe=561.1 //Btu/lbm
//CALCULATIONS
Xe=(hi-he)/xe*100//per-cent
//RESULTS
printf('the the quality of the ammonia leaving the expansion value=% f per-cent',Xe)