please send the solution to find the PH of an weak acid using cprogram