summaryrefslogtreecommitdiff
path: root/575/CH3/EX3.3.3
diff options
context:
space:
mode:
Diffstat (limited to '575/CH3/EX3.3.3')
-rwxr-xr-x575/CH3/EX3.3.3/3_3_3.jpgbin0 -> 50314 bytes
-rwxr-xr-x575/CH3/EX3.3.3/3_3_3.sce13
2 files changed, 13 insertions, 0 deletions
diff --git a/575/CH3/EX3.3.3/3_3_3.jpg b/575/CH3/EX3.3.3/3_3_3.jpg
new file mode 100755
index 000000000..c25312cef
--- /dev/null
+++ b/575/CH3/EX3.3.3/3_3_3.jpg
Binary files differ
diff --git a/575/CH3/EX3.3.3/3_3_3.sce b/575/CH3/EX3.3.3/3_3_3.sce
new file mode 100755
index 000000000..1c94c037a
--- /dev/null
+++ b/575/CH3/EX3.3.3/3_3_3.sce
@@ -0,0 +1,13 @@
+clc
+pathname=get_absolute_file_path('3_3_3.sce')
+filename=pathname+filesep()+'333.sci'
+exec(filename)
+molO2=massO2/MO2
+molCO=massCO/MCO
+molCO2=massCO2/MCO2
+molN2=massN2/MN2
+TotalMol=molO2+molCO+molCO2+molN2
+printf(" \n molefraction of O2=%f",molO2/TotalMol)
+printf(" \n molefraction of CO=%f",molCO/TotalMol)
+printf(" \n molefraction of CO2=%f",molCO2/TotalMol)
+printf(" \n molefraction of N2=%f",molN2/TotalMol) \ No newline at end of file