summaryrefslogtreecommitdiff
path: root/1427/CH24/EX24.4/24_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH24/EX24.4/24_4.sce')
-rw-r--r--1427/CH24/EX24.4/24_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1427/CH24/EX24.4/24_4.sce b/1427/CH24/EX24.4/24_4.sce
new file mode 100644
index 000000000..1d3672947
--- /dev/null
+++ b/1427/CH24/EX24.4/24_4.sce
@@ -0,0 +1,13 @@
+//ques-24.4
+//Calculating vapour pressure of a mixture of benzene and toluene
+clc
+po1=150;//vapour pressure of pure benzene (in mm Hg)
+po2=50;//vapour pressure of pure toluene (in mm Hg)
+n1=92;//moles of benzene
+n2=78;//moles of toluene
+X1=n1/(n1+n2);//mole fraction of benzene
+X2=n2/(n1+n2);//mole fraction of toluene
+p1=po1*X1;//vapour pressure of benzene (in mm Hg)
+p2=po2*X2;//vapour pressure of toluene (in mm Hg)
+P=p1+p2;//total vapour pressure (in mm Hg)
+printf("The vapour pressure of the mixture is %.1f mm Hg.",P);