summaryrefslogtreecommitdiff
path: root/3825/CH6/EX6.22/Ex6_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH6/EX6.22/Ex6_22.sce')
-rw-r--r--3825/CH6/EX6.22/Ex6_22.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3825/CH6/EX6.22/Ex6_22.sce b/3825/CH6/EX6.22/Ex6_22.sce
new file mode 100644
index 000000000..98003bbf9
--- /dev/null
+++ b/3825/CH6/EX6.22/Ex6_22.sce
@@ -0,0 +1,14 @@
+clc
+deltaHp=3274.5 //in kJ
+a=5
+b=6
+c=2
+d=37.619
+CO2=62.75
+H2O=52.96
+O2=38.67
+N2=37.13
+e=((a*CO2)+(b*H2O)+(c*O2)+(d*N2))*10^-3
+T1=298
+T=(deltaHp+(e*T1))/e
+mprintf("T=%fK",T)//ans vary due to roundoff error