summaryrefslogtreecommitdiff
path: root/647/CH4/EX4.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /647/CH4/EX4.6
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 '647/CH4/EX4.6')
-rwxr-xr-x647/CH4/EX4.6/Example4_6.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/647/CH4/EX4.6/Example4_6.sce b/647/CH4/EX4.6/Example4_6.sce
new file mode 100755
index 000000000..11dbbb0ea
--- /dev/null
+++ b/647/CH4/EX4.6/Example4_6.sce
@@ -0,0 +1,25 @@
+clear;
+clc;
+
+// Example: 4.6
+// Page: 124
+
+printf("Example: 4.6 - Page: 124\n\n");
+
+// Solution
+
+//*****Data*****//
+// HC : Heat of Combustion
+HC_NH3 = -90.6;// [kcal]
+HC_H2 = -68.3;// [kcal]
+//*************//
+
+// Heat of combustion of NH3:
+// 2NH3 + 3O = N2 + 3H2O ............................ (A)
+// Heat of combustion of H2:
+// H2 + O = H2O ..................................... (B)
+// Multiplying (B) by 3 & substracting from (A), we get:
+// 2NH3 = N2 + 3H2 .................................. (C)
+// Hf : Heat of Formation
+Hf_NH3 = -(2*HC_NH3 - 3*HC_H2)/2;// [kcal]
+printf("Standard Heat of formation of NH3 is %.1f kcal",Hf_NH3); \ No newline at end of file