diff options
Diffstat (limited to '3428/CH23/EX14.23.22/Ex14_23_22.sce')
-rw-r--r-- | 3428/CH23/EX14.23.22/Ex14_23_22.sce | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/3428/CH23/EX14.23.22/Ex14_23_22.sce b/3428/CH23/EX14.23.22/Ex14_23_22.sce index 32f3b36a6..c3db5aa20 100644 --- a/3428/CH23/EX14.23.22/Ex14_23_22.sce +++ b/3428/CH23/EX14.23.22/Ex14_23_22.sce @@ -1,8 +1,11 @@ //Section-14,Example-6,Page no.-PC.114 //To calculate the pH of 10^-8 M HCl solution. clc; +C=10^-8 //(M) Concentration of HCl solution k_w=10^-14 -x=9.5*10^-8 -C_1=10^-8+x +x1=(-C+sqrt((C)^2-(4*1*(-k_w))))/2 //(M) Concentration of OH- +x2=(-C-sqrt((C)^2+(4*1*(-k_w))))/2 //(M) Concentration of OH- +//since value of x2 is complex so it is rejected. +C_1=C+x1 //(M) Concentration of (H3O+) pH=-log10(C_1) disp(pH,'pH of the given solution') |