summaryrefslogtreecommitdiff
path: root/3718/CH13/EX13.9/Ex13_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3718/CH13/EX13.9/Ex13_9.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3718/CH13/EX13.9/Ex13_9.sce')
-rw-r--r--3718/CH13/EX13.9/Ex13_9.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3718/CH13/EX13.9/Ex13_9.sce b/3718/CH13/EX13.9/Ex13_9.sce
new file mode 100644
index 000000000..370840394
--- /dev/null
+++ b/3718/CH13/EX13.9/Ex13_9.sce
@@ -0,0 +1,20 @@
+//Chapter 13: Fuel and Combustions
+//Problem: 9
+clc;
+
+//Declaration of Variables
+wt_C = 3 // kg
+
+// Solution
+wt_a = wt_C * 32 * 100 / 12.0 / 23.0
+vol_a = wt_a * 1000 * 22.4 / 28.94
+
+mprintf("H2(g) + 1/2 O2(g) --> H20(l)\n")
+mprintf(" 1 0.5 1\t\t(By Vol.)\n")
+mprintf(" CO(g) + 1/2 O2(g) --> CO2(g)\n")
+mprintf(" 1 0.5 1\t\t(By Vol.)\n")
+mprintf(" CH4(g) + 2 O2(g) --> CO2(g) + 2H2O(l)\n")
+mprintf(" 1 2 1\t\t(By Vol.)\n")
+
+mprintf(" Weight of air for the combustion of 3kg carbon %.3f kg\n",wt_a)
+mprintf(" Vol. of air required for combustion of 3kg carbon %.3e L (or) %.2f metre cube",vol_a,vol_a / 1000)