diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /172/CH14/EX14.1/ex1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '172/CH14/EX14.1/ex1.sce')
-rwxr-xr-x | 172/CH14/EX14.1/ex1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/172/CH14/EX14.1/ex1.sce b/172/CH14/EX14.1/ex1.sce new file mode 100755 index 000000000..611e46fea --- /dev/null +++ b/172/CH14/EX14.1/ex1.sce @@ -0,0 +1,13 @@ +//ques1
+//to determine the sublimation pressure of water
+clear
+clc
+//from table in appendix B.1.5
+T1=213.2;//K, Temperature at state 1
+P2=0.0129;//kPa, pressure at state 2
+T2=233.2;//K, Temperature at state 2
+hig=2838.9;//kJ/kg, enthalpy of sublimation
+R=.46152;//Gas constant
+//using relation log(P2/P1)=(hig/R)*(1/T1-1/T2)
+P1=P2*exp(-hig/R*(1/T1-1/T2));
+printf('Sublimation Pressure = %.5f kPa \n',P1);
\ No newline at end of file |