blob: 662de9ee9fb2bb6862178703df9e9e1bf175e61e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
T= 20 //C
R= 0.082 //li-atm per mole per degree
V= 2 //lit
m= 6 //gms
M= 60 //gms
//CALCULATIONS
P= m*R*(273+T)/(M*V)
//RESULTS
printf (' osmotic pressure= %.1f atm',P)
|