summaryrefslogtreecommitdiff
path: root/2465/CH8/EX8.6/Ex8_6.sce
blob: 984f0c31f9e2afe16ac7b0a49079d1fe15680841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter-8,Example 6,Page 196
clc();
close();

pH= 7.4    //of blood

H= 10^(-pH)

//assume ratio of HCO3-  and  H2CO3 is r

Ka= 4.5*10^-7

//  Ka = [H+]*[HCO3-]/[H2CO3]

r=Ka/H

printf('the ratio of HCO3-  and  H2CO3 is %.f',r)