diff options
Diffstat (limited to '1967/CH14/EX14.1/14_1.sce')
-rwxr-xr-x | 1967/CH14/EX14.1/14_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1967/CH14/EX14.1/14_1.sce b/1967/CH14/EX14.1/14_1.sce new file mode 100755 index 000000000..f134b61c7 --- /dev/null +++ b/1967/CH14/EX14.1/14_1.sce @@ -0,0 +1,17 @@ +clc
+//initialisation of variables
+clear
+M2= 92 //gms
+M1= 78 //gms
+pb= 118.2 //mm
+pt= 36.7 //mm
+//CALCULATIONS
+n1= M2/(M1+M2)
+n2= 1-n1
+p1= n1*pb
+p2= n2*pt
+w= p1*M1/(p2*M2)
+//RESULTS
+printf ('partial pressure of benzene = %.f mm',p1)
+printf ('\n partial pressure of toulene = %.1f mm',p2)
+printf ('\n weight proportions = %.2f ',w)
|