blob: 26245195a5219efbfae67429bfb03d04dad29074 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//Initialization of variables
ms=0.5 //mol/kg
m=5 //g
mw=100 //g
Ws=1000 //g/kg
//calculations
Ma=m*Ws/(ms*mw)
//results
printf("Molecular weight of solute = %d g/mol ",Ma)
|