summaryrefslogtreecommitdiff
path: root/3876/CH12/EX12.6/Ex12_6.sce
blob: 572bb5db38d1ef2b8cbe7d23e6d2d0629fb886f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 12 Thermodynamics Thermodynamic chemistry

clc;
clear;

//Initialisation of Variables
Cp= 2.7 //cal per mole per degree
CP1= 6.9 //cal per mole per degree
Cp2= 15.4 //cal per mole per degree
H= -20.24 //kcal
T= 200 //C
T1= 25 //C

//CALCULATIONS
H1= H+(Cp2-2*Cp-3*CP1)*((T-T1)/1000)

//RESULTS
mprintf("Heat of formation= %.2f cal",H1)