summaryrefslogtreecommitdiff
path: root/3428/CH23/EX14.23.23/Ex14_23_23.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /3428/CH23/EX14.23.23/Ex14_23_23.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '3428/CH23/EX14.23.23/Ex14_23_23.sce')
-rw-r--r--3428/CH23/EX14.23.23/Ex14_23_23.sce2
1 files changed, 1 insertions, 1 deletions
diff --git a/3428/CH23/EX14.23.23/Ex14_23_23.sce b/3428/CH23/EX14.23.23/Ex14_23_23.sce
index ea1a8508b..53224b6ae 100644
--- a/3428/CH23/EX14.23.23/Ex14_23_23.sce
+++ b/3428/CH23/EX14.23.23/Ex14_23_23.sce
@@ -5,5 +5,5 @@ pKa=3.08
Ka=10^(-pKa)
x1=(-Ka+sqrt((Ka)^2+(4*0.01*Ka)))/2
x2=(-Ka-sqrt((Ka)^2+(4*0.01*Ka)))/2 //neglected
-pH=-log10(x2)
+pH=-log10(x1)
disp(pH,'pH of the given solution')