summaryrefslogtreecommitdiff
path: root/858/CH3/EX3.18/example_18.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /858/CH3/EX3.18/example_18.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 '858/CH3/EX3.18/example_18.sce')
-rwxr-xr-x858/CH3/EX3.18/example_18.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/858/CH3/EX3.18/example_18.sce b/858/CH3/EX3.18/example_18.sce
new file mode 100755
index 000000000..37db2eb07
--- /dev/null
+++ b/858/CH3/EX3.18/example_18.sce
@@ -0,0 +1,15 @@
+clc
+clear
+printf("example 3.18 page number 108\n\n")
+
+//to find the temperature of combustion
+
+H_combustion = 1560000 //in kJ/kmol
+H0_CO2 = 54.56 //in kJ/kmol
+H0_O2 = 35.2 //in kJ/kmol
+H0_steam = 43.38 //in kJ/kmol
+H0_N2 = 33.32 //in kJ/kmol
+
+t = H_combustion/(2*H0_CO2+3*H0_steam+0.875*H0_O2+16.46*H0_N2);
+
+printf("theoritical temperature of combustion = %f degree C",t)