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)