summaryrefslogtreecommitdiff
path: root/647/CH11/EX11.7/Example11_7.sce
blob: e408ea61edd95a5ab3d945dfec5ebf6c37e0a921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
clear;
clc;

// Example: 11.7
// Page: 465

printf("Example: 11.7 - Page: 465\n\n");

// Solution

//*****Data******//
w2 = 0.6;// [g]
w3 = 1.8;// [g]
Temp = 27 + 273;// [K]
V1 = 100;// [cubic cm]
M2 = 60;// [g/mol]
M3 = 180;// [g/mol]
R = 0.082;// [L.atm/mol.K]
//****************//

V1 = V1/1000;// [litre]
// C: Concentration per litre
C = ((w2/M2) + (w3/M3))/V1;// [mol/litre]
P = C*R*Temp;// [atm]
printf("Osmotic Pressure of the solution is %.2f atm",P);