summaryrefslogtreecommitdiff
path: root/1388/CH3/EX3.2/3_2.sce
blob: 45200a6b6af1dae1b3d851cb53df16a2ac9a8aad (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*V1)*(1.987/.08205)
E= H+W
//RESULTS
printf (' increase in energy= %.f cal ',E+4)