summaryrefslogtreecommitdiff
path: root/409/CH17/EX17.6/Example17_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '409/CH17/EX17.6/Example17_6.sce')
-rwxr-xr-x409/CH17/EX17.6/Example17_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/409/CH17/EX17.6/Example17_6.sce b/409/CH17/EX17.6/Example17_6.sce
new file mode 100755
index 000000000..ccf7fc101
--- /dev/null
+++ b/409/CH17/EX17.6/Example17_6.sce
@@ -0,0 +1,20 @@
+clear ;
+clc;
+// Example 17.6
+printf('Example 17.6\n\n');
+//Page no. 529
+// Solution
+
+P = 760 ;// Pressure -[ mm of Hg]
+// Get vapour pressure of n-heptane from Perry, 40 mm of Hg
+vp = 40 ;// vapour pressure of n-heptane-[mm of Hg]
+
+// Use the 2nd relation given in problem to find K
+K = 10^((log10(vp/P)-0.16)/1.25) ;
+
+// Get t using the 1st relation in the question
+// For t_half
+x = 0.5 ;// mole fraction after t_half
+x0 = 1 ;// initial mole fraction
+t_half = (log(x/x0))/(-K);// Time required to reduce the concentration to one-half-[min]
+printf('Time required to reduce the concentration to one-half is %.1f min. \n',t_half); \ No newline at end of file