diff options
Diffstat (limited to '1100/CH10/EX10.11/10_11.sce')
-rwxr-xr-x | 1100/CH10/EX10.11/10_11.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1100/CH10/EX10.11/10_11.sce b/1100/CH10/EX10.11/10_11.sce new file mode 100755 index 000000000..edc708223 --- /dev/null +++ b/1100/CH10/EX10.11/10_11.sce @@ -0,0 +1,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)
|