summaryrefslogtreecommitdiff
path: root/647/CH4/EX4.2/Example4_2.sce
blob: f757a2a6f62f328e34ca64d577b7190d47a9c378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);