summaryrefslogtreecommitdiff
path: root/2141/CH12/EX12.5/Ex12_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2141/CH12/EX12.5/Ex12_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2141/CH12/EX12.5/Ex12_5.sce')
-rwxr-xr-x2141/CH12/EX12.5/Ex12_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2141/CH12/EX12.5/Ex12_5.sce b/2141/CH12/EX12.5/Ex12_5.sce
new file mode 100755
index 000000000..a1d8e2fdc
--- /dev/null
+++ b/2141/CH12/EX12.5/Ex12_5.sce
@@ -0,0 +1,17 @@
+
+clc
+//initialisation of variables
+clear
+c=82.3//lbm
+a=8.9//lbm
+e=9.3//lbm
+b=2*e//lbm
+d=c/3.76//lbm
+Af=(21.9+82.3)*(28.95)/(a*(12)+b*(1))//lbm air/lbm fuel
+Carbon=(a*(12))/(a*(12)+b*(1))*100//percent
+Hydrogen=(b*(1))/(a*(12)+b*(1))*100//percent
+AFtheo=(13.5+50.8)*28.95/(a*(12)+(b*(1)))//lbm air/lbm fuel
+//CALCULATIONS
+T=Af/AFtheo*100//percent
+//RESULTS
+printf('Theoretical air requirement combustion equation=% f percent',T)