summaryrefslogtreecommitdiff
path: root/1100/CH10/EX10.11/10_11.sce
blob: edc70822308538a342cd492c8f38a5c059ebbe48 (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
h1= 1183.2 //Btu/lb
hg= 1198.4 //Btu/lb
hfg= 843.0 //Btu/lb
//CALCULATIONS
n= 1-((hg-h1)/hfg)
//RESULTS
printf ('quality= %.3f ',n)