summaryrefslogtreecommitdiff
path: root/3856/CH6/EX6.6/Ex6_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3856/CH6/EX6.6/Ex6_6.sce')
-rw-r--r--3856/CH6/EX6.6/Ex6_6.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/3856/CH6/EX6.6/Ex6_6.sce b/3856/CH6/EX6.6/Ex6_6.sce
new file mode 100644
index 000000000..cc9d01b21
--- /dev/null
+++ b/3856/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,33 @@
+//To calculate the Molar Enthalpy of Vapourisation
+
+//Example 6.6
+
+clc;
+
+clear;
+
+T=[20,30,40,50,60,70];
+
+p=[17.54,31.82,55.32,92.51,149.38,233.7];
+
+for i=1:6
+ x(i)=1/(T(i)+273);
+end
+
+for i=1:6
+ y(i)=log(p(i));
+end
+
+plot(x,y);
+
+xlabel("K/T", "fontsize", 2);//Putting the x-axis as K/T
+
+ylabel("ln(p)", "fontsize", 2);//Putting the y-axis as ln(Kp)
+
+m=-(y(2)-y(1))/(x(2)-x(1));
+
+R=8.314;
+
+delH=R*m/1000;
+
+printf("Molar Enthalpy of Vapourization of Water = %.1f kJ mol^-1",delH);