acidity constant , pH value

At equilibrium, it was found that [CH3COOH]=0.8537M, [CH3COO]=0.0040M,and [H3O]=0.0040M. Calculate the acidity constant of CH3COOH and the pH value of the solution.

READ ALSO :   Design of Synchronous Sequential Machines