summaryrefslogtreecommitdiff
path: root/2495/CH8/EX8.18.6/Ex8_18_6.sce
blob: 91a5cf4e1d2168f28365a8ea4d4c92c4a566b0aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
clc
DelG1=-237.23;//in kJ
DelG2=79.71;//in kJ
n=2;//
DelG=(DelG1+(n*DelG2));//in kJ
F=96500;//in C
T=298;//in K
E=-((DelG*10^3)/(n*F));//in V
printf('E=%.3f V',E)
DelH1=-285.85;//in kJ
DelH2=56.9;//in kJ
DelH=(DelH1+(n*DelH2));//in kJ
dEdT_p=((DelH-DelG)*10^3)/(n*F*T);//in V/K
printf('\ndEdT_p=%.5f V/K',dEdT_p)

//error in solution
////There are some errors in the solution given in textbook
//page 484