clc //initialisation of variables Ka= 6*10^-10 C= 10^-1 //moles l^-1 //CALCULATIONS C1= sqrt(Ka*C) //RESULTS printf (' concentration of hydrogen ion = %.e moles l^-1 ',C1)