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 /3685/CH16/EX16.10/Ex16_10.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 '3685/CH16/EX16.10/Ex16_10.sce')
-rw-r--r-- | 3685/CH16/EX16.10/Ex16_10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3685/CH16/EX16.10/Ex16_10.sce b/3685/CH16/EX16.10/Ex16_10.sce new file mode 100644 index 000000000..537b5617b --- /dev/null +++ b/3685/CH16/EX16.10/Ex16_10.sce @@ -0,0 +1,17 @@ +clc
+Hr1 = -249952 // For octane
+Hp1 = Hr1
+// Below values are calculated using value from table
+T2 = 1000 // Assumed reaction temperature in K
+Hp2 = -1226577 // Enthalpy of reaction products
+T3 = 1200 // Assumed reaction temperature in K
+Hp3 = 46537// Enthalpy of reaction products
+T4 = 1100// Assumed reaction temperature in K
+Hp4 = -595964 // Enthalpy of reaction products
+Hp = [Hp2 Hp3 Hp4]
+T = [T2 T3 T4]
+T1 = interpln([Hp; T],Hp1) // Interpolation to find temperature at Hp1
+printf("\n Example 16.10 \n")
+printf("\n The adiabatic flame temperature is %f K",T1)
+//The answer provided in the textbook is wrong
+
|