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 /1967/CH19/EX19.2/19_2.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 '1967/CH19/EX19.2/19_2.sce')
-rwxr-xr-x | 1967/CH19/EX19.2/19_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1967/CH19/EX19.2/19_2.sce b/1967/CH19/EX19.2/19_2.sce new file mode 100755 index 000000000..ee57d9ca1 --- /dev/null +++ b/1967/CH19/EX19.2/19_2.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+clear
+E= -0.344 //volt
+E1= -0.401 //volt
+R= 0.05914 //volt
+n= 4
+T= 25 //C
+H= -7300 //cal
+//CALCULATIONS
+po2= 10^(-n*(E-E1)/R)
+dH= -0.5*n*H+0.5*n*(273+T)
+//RESULTS
+printf ('Pressure of Oxygen = %.1e atm',po2)
+printf ('\n Change in Enthalpy = %.f cal',dH+4)
|