summaryrefslogtreecommitdiff
path: root/1472/CH10/EX10.5/10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1472/CH10/EX10.5/10_5.sce')
-rwxr-xr-x1472/CH10/EX10.5/10_5.sce28
1 files changed, 14 insertions, 14 deletions
diff --git a/1472/CH10/EX10.5/10_5.sce b/1472/CH10/EX10.5/10_5.sce
index bc0d5d9a7..e0021570e 100755
--- a/1472/CH10/EX10.5/10_5.sce
+++ b/1472/CH10/EX10.5/10_5.sce
@@ -1,14 +1,14 @@
-clc
-//initialization of varaibles
-x=0.97
-P=100 //psia
-//calculations
-disp("From table 2,")
-hf=298.4
-hfg=888.8
-hx=hf+x*hfg
-hg=1187.2
-hx2=hg-(1-x)*hfg
-//results
-printf("Accurate Enthalpy = %.1f B/lb",hx2)
-printf("\n Enthalpy = %d B/lb")
+clc
+//initialization of variables
+x=0.97
+P=100 //psia
+//calculations
+disp("From table 2,")
+hf=298.4
+hfg=888.8
+hx=hf+x*hfg
+hg=1187.2
+hx2=hg-(1-x)*hfg
+//results
+printf("Accurate Enthalpy = %.1f B/lb",hx2)
+printf("\n Enthalpy = %.1f B/lb", hg) \ No newline at end of file