summaryrefslogtreecommitdiff
path: root/632/CH11/EX11.20/example11_20.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /632/CH11/EX11.20/example11_20.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '632/CH11/EX11.20/example11_20.sce')
-rwxr-xr-x632/CH11/EX11.20/example11_20.sce11
1 files changed, 6 insertions, 5 deletions
diff --git a/632/CH11/EX11.20/example11_20.sce b/632/CH11/EX11.20/example11_20.sce
index 8eff4b35e..6a92a5400 100755
--- a/632/CH11/EX11.20/example11_20.sce
+++ b/632/CH11/EX11.20/example11_20.sce
@@ -1,6 +1,7 @@
-//clc()
-T = 273.15 - 30;//K
-//lnPs = 14.2410 - 2137.72 / (T-26.72)
-//dlnPs/dT = Hv / RT2
-Hv = 2137.72 * R * T^2 / ( T - 26.72 )^2;
+clc
+T = 273.15 - 30;//K
+R = 8.314;
+//lnPs = 14.2410 - 2137.72 / (T-26.72)
+//dlnPs/dT = Hv / RT2
+Hv = 2137.72 * R * T^2 / ( T - 26.72 )^2;
disp("kJ/kmol",Hv,"Heat of vaporization = ") \ No newline at end of file