diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1019/CH8/EX8.20 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1019/CH8/EX8.20')
-rw-r--r-- | 1019/CH8/EX8.20/Example_8_20.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/1019/CH8/EX8.20/Example_8_20.sce b/1019/CH8/EX8.20/Example_8_20.sce new file mode 100644 index 000000000..60766ffa3 --- /dev/null +++ b/1019/CH8/EX8.20/Example_8_20.sce @@ -0,0 +1,24 @@ +//Example 8.20
+clear;
+clc;
+
+//Given
+T1=313;//1st temperature in K
+T2=333;//2nd temperature in K
+KT1=0.86;//Value of equillibrium constant at temperature T1
+KT2=0.35;//Value of equillibrium constant at temperature T2
+R=8.314;//gas constant in J K^-1 mol^-1
+
+//To determine the value of delGo,delHo and delSo
+delHo=(R*T1*T2*log(KT2/KT1))/(T2-T1);//delHo in J mol^-1
+delGo313=-R*T1*log(KT1);//value of delGo at T1 in J mol^-1
+delGo333=-R*T2*log(KT2);//value of delGo at T2 in J mol^-1
+delSo313=(delHo-delGo313)/T1;//value of delSo at T1 in J K^-1 mol^-1
+delSo333=(delHo-delGo333)/T2;//value of delSo at T2 in J K^-1 mol^-1
+mprintf('delHo = %f J mol^-1',delHo);
+mprintf('\n delGo at 313 K = %f J mol^-1',delGo313);
+mprintf('\n delGo at 333 K = %f J mol^-1',delGo333);
+mprintf('\n delSo at 313 K = %f J K^-1 mol^-1',delSo313);
+mprintf('\n delSo at 333 K = %f J K^-1 mol^-1',delSo333);
+
+//end
\ No newline at end of file |