blob: dccb532fa52b2cf8c9aada7e83cecefb817f3ba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
//initialisation of variables
T= 25 //C
R= 0.0821 //li-atm per mole per degree
M= 0.5 //m
n= 2
m= 0.680
V= 1 //lit
//CALCULATIONS
P= R*(273+T)*M*n*m/V
//RESULTS
printf (' osmotic pressure= %.2f atm',P)
|