summaryrefslogtreecommitdiff
path: root/1394/CH8/EX8.2.1/Ex8_2_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1394/CH8/EX8.2.1/Ex8_2_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1394/CH8/EX8.2.1/Ex8_2_1.sce')
-rwxr-xr-x1394/CH8/EX8.2.1/Ex8_2_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1394/CH8/EX8.2.1/Ex8_2_1.sce b/1394/CH8/EX8.2.1/Ex8_2_1.sce
new file mode 100755
index 000000000..b145cca9b
--- /dev/null
+++ b/1394/CH8/EX8.2.1/Ex8_2_1.sce
@@ -0,0 +1,15 @@
+
+
+clc
+//initialization of variables
+kc = 3.3*10^-3 // M.T.C in cm/sec
+d = 1 // density of oxygen in g/cm^3
+M = 18 // Mol wt of water in g/mol
+Hatm = 4.4*10^4 // Henrys constant in atm
+HmmHg = Hatm*760 // Henrys constant in mm Hg
+//calculations
+ratio = d/(M*HmmHg)// Ratio of concentration and pressure of oxygen
+kp = kc*ratio // M.T.O=C in x*10^12mol/cm^2-sec-mm Hg
+//Results
+printf("the M.T.C in given units is %.1e",kp )
+