diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /647/CH4/EX4.2/Example4_2.sce | |
download | Scilab-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.2/Example4_2.sce')
-rwxr-xr-x | 647/CH4/EX4.2/Example4_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/647/CH4/EX4.2/Example4_2.sce b/647/CH4/EX4.2/Example4_2.sce new file mode 100755 index 000000000..f757a2a6f --- /dev/null +++ b/647/CH4/EX4.2/Example4_2.sce @@ -0,0 +1,21 @@ +clear;
+clc;
+
+// Example: 4.2
+// Page: 119
+
+printf("Example: 4.2 - Page: 119\n\n");
+
+// Solution
+
+//*****Data*****//
+// Mg + (1/2)O2 = MgO ...............(1)
+deltaH1 = -610.01;// [kcal]
+// 2Fe + (3/2)O2 = Fe2O3 ............(2)
+deltaH2 = -810.14;// [kcal]
+//*************//
+
+// 3Mg + Fe2O3 = 3MgO + 2Fe .........(3)
+// Multiplying (1) by 3 and substracting from (2), we get (3):
+deltaH = 3*deltaH1 - deltaH2;// [kcal]
+printf("Heat produced in the reaction is %.1f kcal\n",deltaH);
\ No newline at end of file |