summaryrefslogtreecommitdiff
path: root/3856/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3856/CH6/EX6.2/Ex6_2.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3856/CH6/EX6.2/Ex6_2.sce')
-rw-r--r--3856/CH6/EX6.2/Ex6_2.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/3856/CH6/EX6.2/Ex6_2.sce b/3856/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..f30f1cf2d
--- /dev/null
+++ b/3856/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,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);