blob: c89f1d5463208d4d33adccbac0cf6bb16b5ee7eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
//initialisation of variables
n= 2 //moles
R= 1.99 //cal er mole per degree
T= 80 //C
H1= 94.3 //cal per gram
M= 78 //gms per mole
//CALCULATIONS
w= n*R*(273+T)
H= n*M*H1
E= H-w
//RESULTS
printf (' value of dH= %.f cal',H)
printf (' \n value of dE= %.f cal',E)
|