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 /1385/CH4/EX4.6 | |
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 '1385/CH4/EX4.6')
-rwxr-xr-x | 1385/CH4/EX4.6/4_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1385/CH4/EX4.6/4_6.sce b/1385/CH4/EX4.6/4_6.sce new file mode 100755 index 000000000..c2b36145d --- /dev/null +++ b/1385/CH4/EX4.6/4_6.sce @@ -0,0 +1,19 @@ +clc
+//initialisation of variables
+m= 92.13 //gms
+M= 78.11 //gms
+n= 1 //moles
+p= 119.6 //mm
+p1= 36.7 //mm
+//CALCULATIONS
+n1= m/M
+x= n/(n+n1)
+y= 1-x
+P= y*p
+P1= x*p1
+P2= P+P1
+m1= P/P2
+m2= 1-m1
+//RESULTS
+printf (' mole fraction of benzene= %.3f ',m1)
+printf (' \n mole fraction of toulene= %.3f ',m2)
|