From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1967/CH14/EX14.1/14_1.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1967/CH14/EX14.1/14_1.sce (limited to '1967/CH14/EX14.1') 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) -- cgit