summaryrefslogtreecommitdiff
path: root/1439/CH14/EX14.1/14_1.sce
blob: 147ba31a42664d1cd5c91b2c9c7d05ffc50ad319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
//initialisation of variables
n=2
V= 0.67533 //volt
E= 23060 //cal volt^-1
Tc= -6.5*10^-4 //volt deg^-1
T= 25 //C
//CALCULATIONS
G= -n*V*E
S= n*E*Tc
H= -n*E*V+n*Tc*E*(273+T)
//RESULTS
printf ('dG = %.f cal',G)
printf ('\n dS = %.f cal deg^-1',S)
printf ('\n dH = %.f cal',H)