summaryrefslogtreecommitdiff
path: root/3685/CH16/EX16.2
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH16/EX16.2
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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.2')
-rw-r--r--3685/CH16/EX16.2/Ex16_2.sce18
-rw-r--r--3685/CH16/EX16.2/Ex16_2.txt6
2 files changed, 24 insertions, 0 deletions
diff --git a/3685/CH16/EX16.2/Ex16_2.sce b/3685/CH16/EX16.2/Ex16_2.sce
new file mode 100644
index 000000000..edc4ac5fc
--- /dev/null
+++ b/3685/CH16/EX16.2/Ex16_2.sce
@@ -0,0 +1,18 @@
+clc
+eps_e = 0.27 // Constant
+P = 1 // Atmospheric pressure in bar
+K = (4*eps_e^2*P)/(1-eps_e^2)
+P1 = 100/760 // Pressure in Pa
+eps_e_1 = sqrt((K/P1)/(4+(K/P1)))
+T1 = 318 // Temperature in K
+T2 = 298// Temperature in K
+R = 8.3143 // Gas constant
+K1 = 0.664 // dissociation constant at 318K
+K2 = 0.141// dissociation constant at 298K
+dH = 2.30*R*((T1*T2)/(T1-T2))*(log10(K1/K2))
+printf("\n Example 16.2\n")
+printf("\n K is %f atm",K)
+printf("\n Epsilon is %f ",eps_e_1)
+printf("\n The heat of reaction is %d kJ/kg mol",dH)
+//The answers vary due to round off error
+
diff --git a/3685/CH16/EX16.2/Ex16_2.txt b/3685/CH16/EX16.2/Ex16_2.txt
new file mode 100644
index 000000000..4875ed02a
--- /dev/null
+++ b/3685/CH16/EX16.2/Ex16_2.txt
@@ -0,0 +1,6 @@
+
+ Example 16.2
+
+ K is 0.314529 atm
+ Epsilon is 0.611607
+ The heat of reaction is 60974 kJ/kg mol \ No newline at end of file