summaryrefslogtreecommitdiff
path: root/1385/CH4/EX4.1/4_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1385/CH4/EX4.1/4_1.sce
downloadScilab-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.1/4_1.sce')
-rwxr-xr-x1385/CH4/EX4.1/4_1.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/1385/CH4/EX4.1/4_1.sce b/1385/CH4/EX4.1/4_1.sce
new file mode 100755
index 000000000..113e3832c
--- /dev/null
+++ b/1385/CH4/EX4.1/4_1.sce
@@ -0,0 +1,26 @@
+clc
+//initialisation of variables
+m= 164.2 //gms
+M= 60 //gms
+V= 0.8 //lit
+d= 1.026 //g/cc
+mw= 18.02 //gms
+//CALCULATIONS
+M1= m/M
+n= M1/V
+G= V*1000*d
+G1= G-m
+m1= M1*1000/G1
+n1= G1/mw
+x= M1/(M1+n1)
+y= 1-x
+p= x*100
+p1= y*100
+P= m*100/G
+//RESULTS
+printf (' molarity= %.3f M',n)
+printf (' \n molality= %.3f m',m1)
+printf (' \n mole fraction of solute= %.4f ',x)
+printf (' \n mol per cent of solute= %.2f per cent',p)
+printf (' \n mol per cent of solvent= %.2f per cent',p1)
+printf (' \n mol per cent acetic acid by weight= %.2f per cent',P)