summaryrefslogtreecommitdiff
path: root/527/CH9/EX9.1/9_1exam.sce
diff options
context:
space:
mode:
Diffstat (limited to '527/CH9/EX9.1/9_1exam.sce')
-rwxr-xr-x527/CH9/EX9.1/9_1exam.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/527/CH9/EX9.1/9_1exam.sce b/527/CH9/EX9.1/9_1exam.sce
new file mode 100755
index 000000000..6e61c7309
--- /dev/null
+++ b/527/CH9/EX9.1/9_1exam.sce
@@ -0,0 +1,18 @@
+//Engineering and Chemical Thermodynamics
+//Example 9.1
+//Page no :440
+
+clear ; clc ;
+n_o_CH3OH = 1 ; //[mol]
+n_o_H2O = 3 ; //[mol]
+S = 0.87 ;
+n_CH3OH = 1 - S ;
+n_H2O = 2 - S ;
+n_CO2 = S ;
+n_H2 = 3 * S ;
+n_v = n_CH3OH + n_CO2 + n_H2O + n_H2 ;
+
+y_H2 = n_H2 / n_v ;
+disp(" Example: 9.1 Page no : 440") ;
+printf("\n No of moles of H2 produced for 1mol of CH3OH = %.3f mol" , n_H2)
+printf("\n Mole fraction of H2 = %.2f" , y_H2) ;