summaryrefslogtreecommitdiff
path: root/1388/CH3/EX3.19/3_19.sce
blob: f4e5c47ac375e13548fb15692d952fbb98e08f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
//initialisation of variables
H1= 1350 //cal
H2= 9713 //cal 
H3= 244 //cal
H4= 0 //cal
E1= 1350 //cal
E2=  8971 //cal
E3= 185 //cal
E4= 0 //cal
//RESULTS
H= H1+H2+H3+H4
E= E1+E2+E3+E4
//RESULTS
printf (' Enthalpy= %.f cal ',H)
printf (' \n Energy= %.f cal ',E)