summaryrefslogtreecommitdiff
path: root/647/CH4/EX4.10
diff options
context:
space:
mode:
Diffstat (limited to '647/CH4/EX4.10')
-rwxr-xr-x647/CH4/EX4.10/Example4_10.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/647/CH4/EX4.10/Example4_10.sce b/647/CH4/EX4.10/Example4_10.sce
new file mode 100755
index 000000000..d8d3ed8f5
--- /dev/null
+++ b/647/CH4/EX4.10/Example4_10.sce
@@ -0,0 +1,22 @@
+clear;
+clc;
+
+// Example: 4.10
+// Page: 129
+
+printf("Example: 4.10 - Page: 129\n\n");
+
+// Solution
+
+//*****Data*****//
+T2 = 1273;// [K]
+T1 = 300;// [K]
+deltaH_300 = -11030;// [cal/mol]
+//*************//
+
+// The chemical reaction involved is:
+// N2 + 3H2 = 2NH3
+// (1/2)N2 + (3/2)H2 = NH3
+// deltaH_1273 = deltaH_300 + integrate('Cp_NH3(T) - (1/2)*Cp_N2(T) - (1/2)*Cp_H2(T)','T',1273,300);
+deltaH_1273 = deltaH_300 + integrate('(6.2 + 7.8*10^(-3)*T - 7.2*10^(-6)*T^2) - (1/2)*(6.45 + 1.4*10^(-3)*T) - (1/2)*(6.94 - 0.2*10^(-3)*T)','T',1273,300);// [cal]
+printf("Heat of formation at 1273 K is %d cal",deltaH_1273); \ No newline at end of file