blob: de8e169248dbc549c076c6d076d307340ca5e108 (
plain)
1
2
3
4
5
6
7
|
//ques-24.3
//Finding molality of a solution
clc
x=2/100;//mole fraction of solute
X=1-x;//mole fraction of solvent
m=x/(X*18/1000);
printf("The molarity of the solution is %.3f mol/kg.",m);
|