1 2 3 4 5 6 7 8 9
clc //Initialization of variables c=0.01 //M kc=1.749*10^-5 //M //calculations x2=c*kc x=sqrt(x2) //results printf("Concentraton of Hplus ions = %.1e M",x)