summaryrefslogtreecommitdiff
path: root/3876/CH4/EX4.1/Ex4_1.sce
blob: 63fa5d0757780b1949ea56360fa14adb684b4a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//Chapter 4 Solutions Nonelectrolytes

clc;
clear;

//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
P2= m*100/G

//RESULTS
mprintf("Molarity= %.3f M",n)
mprintf("\nMolality= %.3f m",m1)
mprintf("\nMole fraction of solute= %.4f",x)
mprintf("\nMol per cent of solute= %.2f percent",p)
mprintf("\nMol per cent of solvent= %.2f percent",p1)
mprintf("\nMol per cent acetic acid by weight= %.2f percent",P2)