summaryrefslogtreecommitdiff
path: root/3856/CH2/EX2.2/Ex2_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3856/CH2/EX2.2/Ex2_2.sce')
-rw-r--r--3856/CH2/EX2.2/Ex2_2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3856/CH2/EX2.2/Ex2_2.sce b/3856/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..0161d0283
--- /dev/null
+++ b/3856/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,26 @@
+//Calculate the mass of Oxygen
+
+//Example 2.2
+
+clc;
+
+clear;
+
+PT=758; //Total partial pressure in torr
+
+PH2O=19.8; //Partial pressure of water in torr
+
+PO2=(PT-PH2O)*0.00131579; //Partial pressure of oxygen in torr
+
+V=0.186; //Volume of oxygen in Litre
+
+M=32; //Molar mass of oxygen in g/ mol
+
+R=0.08206; //Gas constant in L atm K^-1 mol^-1
+
+T=295; //Tempreture in kelvin
+
+m=(PO2*V*M)/(R*T); //Mass of the Oxygen molecule in g
+
+printf("Mass of Oxygen molecule = %.3f g",m);
+