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 /1388/CH6/EX6.13 | |
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 '1388/CH6/EX6.13')
-rwxr-xr-x | 1388/CH6/EX6.13/6_13.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1388/CH6/EX6.13/6_13.sce b/1388/CH6/EX6.13/6_13.sce new file mode 100755 index 000000000..df0722765 --- /dev/null +++ b/1388/CH6/EX6.13/6_13.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+T= 2000 //K
+P= 1 //atm
+G= 41438 //cal
+R= 1.987 //cal/mol K
+T2= 298.2 //K
+T1= 2000 //K
+H= 43200 //cal
+//CALCULATIONS
+Kp= 10^(-G/(2.303*R*T2))
+Kp1= Kp*10^(H*(T-T2)/(2.303*R*T1*T2))
+p= sqrt(Kp1*0.8*0.2)
+//RESULTS
+printf (' Partial pressure = %.1e atm ',p)
|