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 /3856/CH6/EX6.6/Ex6_6.sce | |
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 '3856/CH6/EX6.6/Ex6_6.sce')
-rw-r--r-- | 3856/CH6/EX6.6/Ex6_6.sce | 33 |
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);
|