diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1967/CH14/EX14.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1967/CH14/EX14.1')
-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)
|