diff options
Diffstat (limited to '1922/CH4/EX4.27/4_27.sce')
-rwxr-xr-x | 1922/CH4/EX4.27/4_27.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1922/CH4/EX4.27/4_27.sce b/1922/CH4/EX4.27/4_27.sce new file mode 100755 index 000000000..255be1c8b --- /dev/null +++ b/1922/CH4/EX4.27/4_27.sce @@ -0,0 +1,10 @@ +clc
+clear
+//Initialization of variables
+hc=150 //Btu/lb
+he=-115 //Btu/lb
+hg=168 //Btu/lb
+//calculations
+frac=(hg-hc)/(hg-he)
+//results
+printf("Fraction of solid = %.3f",frac)
|