summaryrefslogtreecommitdiff
path: root/3876/CH5/EX5.1/Ex5_1.sce
blob: b74f9ef174f2ca03e510aa3c1263974afd05a9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter 5 Solutions Osmotic Pressure

clc;
clear;

//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
mprintf("Osmotic pressure= %.1f atm",P)