summaryrefslogtreecommitdiff
path: root/1388/CH3/EX3.2/3_2.sce
blob: ab0cff38b0aea3c0af3c73ea3dc048ee542e58d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation of variables
P= 0.0060 //atm
Vl= 0.0181 //l
H= -10730 //cal
V2= 22.4 //l
//CALCULATIONS
W= (V2-P*Vl)*(1.987/.08205)
E= H+W
//RESULTS
printf (' increase in energy= %.f cal ',E+4)