summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.29
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /944/CH5/EX5.29
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '944/CH5/EX5.29')
-rwxr-xr-x944/CH5/EX5.29/example5_29_TACC.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/944/CH5/EX5.29/example5_29_TACC.sce b/944/CH5/EX5.29/example5_29_TACC.sce
new file mode 100755
index 000000000..d29393999
--- /dev/null
+++ b/944/CH5/EX5.29/example5_29_TACC.sce
@@ -0,0 +1,20 @@
+//example 5.29
+
+clear;
+clc;
+
+//Given:
+T2=353.2;//normal boiling point of benzene at 1.01325bar[K]
+T1=298;//temperature [K]
+R=8.314;//Universal gas constant[J/K/mol]
+P2=1.01325;//Vapour pressure of benzene[bar]
+//benzene obey's Trouton's rule
+disp(" from Troutons rule , ");
+disp(" He/Tb=85J/K/mol");
+
+//To find the vapour pressure of benzene at 298K
+He=85*T2;//molar enthalpy of vapourization[J/K/mol]
+x=(T2^-1)-(T1^-1);
+t=-He*x/R;
+P1=P2/exp(t);
+printf("\nThe vapour pressure of benzene at 298K is %f bar",P1);