summaryrefslogtreecommitdiff
path: root/1472/CH10/EX10.6/10_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1472/CH10/EX10.6/10_6.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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)