summaryrefslogtreecommitdiff
path: root/3856/CH6/EX6.2/Ex6_2.sce
blob: f30f1cf2da19ba0c68693815fc0da346c74f4e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//Calculate the value of Change in Gibbs Energy (delG) for melting of ice at 0 degree celcious, 10 degree celcious and minus 10 degree celcious

//Example 6.2

clc;

clear;

delH=6.01;  //Change in Enthalpy in kJ mol^-1

T1=273;  //Temperature of ice in K

delS=22.0;  //Change in Entropy in J K^-1

delG1=delH-(T1*delS/1000);  //Change in Gibbs Energy in kJ

printf("(a)Change in Gibbs Energy at Zero degree celcious = %.0f ",delG1);

T2=283;  //Temperature of ice in K

delG2=delH-(T2*delS/1000);  //Change in Gibbs Energy in kJ

printf("\n(b)Change in Gibbs Energy at Ten degree celcious = %.2f kJ",delG2);

T3=263;  //Temperature of ice in K

delG3=delH-(T3*delS/1000);  //Change in Gibbs Energy in kJ

printf("\n(c)Change in Gibbs Energy at minus Ten degree celcious= %.2f kJ",delG3);