summaryrefslogtreecommitdiff
path: root/884/CH12/EX12.6/Example12_6.sce
blob: a5463eb4760fc9ee72f19356ef15d69b9cf43c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//computation of solubility of gases in liquid

clear;
clc;

printf("\t Example 12.6\n");

c=6.8*10^-4;//solubility of N2 in water, M
P=1;//pressure, atm
k=c/P;//henry's constant

//for partial pressure of N2=0.78atm
P=0.78;//partial pressure of N2, atm
c=k*P;//solubility of N2, M

printf("\t the solubility of N2 gas in water is : %4.1f*10^-4 M\n",c*10^4);

//End