summaryrefslogtreecommitdiff
path: root/1388/CH3/EX3.22/3_22.sce
blob: b0756614ce74468493ff26253324097699ad5ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//initialisation of variables
T= 298 //K
R= 1.987 //atmcc/mol K
x= 128.16
y= 0.9241
H= -8739 //cal
n1= 10 //mol
n2= 12 //mol
//CALCULATIONS
E= (x/y)*H
H= (E+R*T*(n1-n2))/1000
//RESULTS
printf (' Enthalpy = %.f kcal mole^-1 ',H)