summaryrefslogtreecommitdiff
path: root/551/CH11/EX11.30/30.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH11/EX11.30/30.sce')
-rwxr-xr-x551/CH11/EX11.30/30.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/551/CH11/EX11.30/30.sce b/551/CH11/EX11.30/30.sce
new file mode 100755
index 000000000..7dce1cf71
--- /dev/null
+++ b/551/CH11/EX11.30/30.sce
@@ -0,0 +1,11 @@
+clc
+// X*(x/12 C + y/2 H2) + Y O2 + 79/21*Y/N2 → 0.15CO2 + 0.03CO + 0.03CH4 + 0.01H2 + 0.02O2 + a H2O + 0.76N2
+
+Y=0.76/(79/21);
+a=2*(Y-0.15-0.03/2-0.02);
+Xx=12*(0.15+0.03+0.03);
+Xy=2*(2*0.03+0.01+a);
+ratio=Xx/Xy;
+
+disp("Ratio of C to H2 in fuel =")
+disp(ratio) \ No newline at end of file