diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1427/CH2/EX2.12/2_12.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1427/CH2/EX2.12/2_12.sce')
-rw-r--r-- | 1427/CH2/EX2.12/2_12.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1427/CH2/EX2.12/2_12.sce b/1427/CH2/EX2.12/2_12.sce new file mode 100644 index 000000000..bea9f576b --- /dev/null +++ b/1427/CH2/EX2.12/2_12.sce @@ -0,0 +1,13 @@ +//ques-2.12
+//Finding volume of air required for combustion of a gas
+clc
+V=1;//Volume of gas (in kL)
+H=45;//Percentage of Hydrogen in gas
+N=4;//Percentage of Nitrogen in gas
+M=36;//Percentage of Methane in gas
+C=15;//Percentage of Carbo monoxide in gas
+v1=(H/100)*0.5;//Volume of Oxygen required for hydrogen (in kL)
+v2=(M/100)*2;//Volume of Oxygen required for methane (in kL)
+v3=(C/100)*0.5;//Volume of Oxygen required for carbon monoxide (in kL)
+V=(v1+v2+v3)*(100/21);//Volume of air required (in kL)
+printf("The volume of air required for combustion of gas is %.3f kL.\n",V);
|