summaryrefslogtreecommitdiff
path: root/1019/CH5/EX5.6/Example_5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1019/CH5/EX5.6/Example_5_6.sce')
-rw-r--r--1019/CH5/EX5.6/Example_5_6.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1019/CH5/EX5.6/Example_5_6.sce b/1019/CH5/EX5.6/Example_5_6.sce
new file mode 100644
index 000000000..e1f1a8b55
--- /dev/null
+++ b/1019/CH5/EX5.6/Example_5_6.sce
@@ -0,0 +1,24 @@
+//Example 5.6
+clear;
+clc;
+
+//Given
+n=1;//moles of toluene
+P=1;//pressure in atm
+R=8.314;//gas constant in J K^-1 mol^-1
+T=384//temperature in K
+delHv=363.3;//latent heat of vapourization in J g^-1
+
+//To determine q,delH,delG,delE and delS
+w=R*T;// work done in J
+qp=delHv*(n*92);
+delE=qp-w;//internal energy change in J
+delH=qp;//enthalpy change in J
+delG=0;//gibbs free energy in J
+delS=delH/T;//entropy change in J K^-1
+mprintf('(i) delE = %f J mol^-1 ',delE);
+mprintf('\n (ii) q = %f J mol^-1',qp);
+mprintf('\n (iii) delH = %f J mol^-1',delH);
+mprintf('\n (iv) delG = %f J mol^-1',delG);
+mprintf('\n (v) delS of system = %f J K^-1 mol^-1',delS);
+//end \ No newline at end of file