summaryrefslogtreecommitdiff
path: root/1472/CH10/EX10.6/10_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1472/CH10/EX10.6/10_6.sce')
-rwxr-xr-x1472/CH10/EX10.6/10_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1472/CH10/EX10.6/10_6.sce b/1472/CH10/EX10.6/10_6.sce
new file mode 100755
index 000000000..311ec769a
--- /dev/null
+++ b/1472/CH10/EX10.6/10_6.sce
@@ -0,0 +1,18 @@
+clc
+//initialization of varaibles
+s=1.7050 //B/lb R
+//calculations
+disp("From table 2,")
+sx=1.7050
+sg=1.7549
+sfg=1.4415
+dx=(sg-sx)/sfg
+hg=1150.8
+hfg=969.7
+hx=hg-dx*hfg
+vg=26.29
+vfg=26.27
+vx=vg-dx*vfg
+//results
+printf("Specific volume = %.3f cu ft/lb",vx)
+printf("\n Enthalpy = %.1f B/lb",hx)