diff options
Diffstat (limited to '1019/CH5/EX5.7/Example_5_7.sce')
-rw-r--r-- | 1019/CH5/EX5.7/Example_5_7.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1019/CH5/EX5.7/Example_5_7.sce b/1019/CH5/EX5.7/Example_5_7.sce new file mode 100644 index 000000000..4a82bb5ca --- /dev/null +++ b/1019/CH5/EX5.7/Example_5_7.sce @@ -0,0 +1,16 @@ +//Example 5.7
+clear;
+clc;
+
+//Given
+P1=2.15;//vapour pressure of water in mm of Hg
+P2=1.95;//vapour pressure of ice in mm of Hg
+R=8.314;//gas constant in J K^-1 mol^-1
+T=263//temperature in K
+
+//To determine the free energy change delG
+delG=R*T*log(P2/P1);//gibbs free energy in J mol^-1
+mprintf('(i) Free energy change = 0 J mol^-1');
+mprintf('\n (ii) Free energy change = %f J mol^-1',delG);
+mprintf('\n (iii) Total Free energy change = %f J mol^-1',delG);
+//end
\ No newline at end of file |