summaryrefslogtreecommitdiff
path: root/32/CH7/EX7.19
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /32/CH7/EX7.19
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 '32/CH7/EX7.19')
-rwxr-xr-x32/CH7/EX7.19/7_19.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/32/CH7/EX7.19/7_19.sce b/32/CH7/EX7.19/7_19.sce
new file mode 100755
index 000000000..3ceccdeda
--- /dev/null
+++ b/32/CH7/EX7.19/7_19.sce
@@ -0,0 +1,19 @@
+//pathname=get_absolute_file_path('7.19.sce')
+//filename=pathname+filesep()+'7.19-data.sci'
+//exec(filename)
+//From steam tables:
+vg=0.12736
+vf=0.001157
+p205=1.7230
+p195=1.3978
+T=200+273
+hfga=1940.7
+//Value of vfg(in m^3/kg):
+vfg=vg-vf
+//Value of dp/dT(in MPa/K):
+r=(p205-p195)/(205-195)
+//By Clapeyron equation(in kJ/kg):
+hfg=T*vfg*r*10^3
+printf("\nRESULT")
+printf("\nCalculated enthalpy of vaporization = %f kJ/kg",hfg)
+printf("\nEnthalpy of vaporization from steam table = %f kJ/kg",hfga) \ No newline at end of file