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/CH15/EX15.3/15_3.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/CH15/EX15.3/15_3.sce')
-rwxr-xr-x | 1967/CH15/EX15.3/15_3.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1967/CH15/EX15.3/15_3.sce b/1967/CH15/EX15.3/15_3.sce new file mode 100755 index 000000000..f1084d565 --- /dev/null +++ b/1967/CH15/EX15.3/15_3.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+clear
+R= 1.98*10^-4 //cal mole^-1 deg^-1
+T= 20 //C
+E= -0.11118 //volt
+n2= 0.00326
+n21= 0.0986
+//CALCULATIONS
+r= 10^((-E/(R*(273.16+T)))-log10(n21)+log10(n2))+n21
+a2= r*n21
+//RESULTS
+printf ('a2/N2 = %.3f ',r)
+printf ('\n a2 = %.4f ',a2)
+
|