Jeremy H. answered 07/25/21
PhD in chemistry from UPenn, BS in chemistry and physics
Acetic acid is a weak acid so you need to use the equilibrium constant, K and the corresponding equation
K = [H+] x [A-] / [HA]
Where [H+] is the concentration of protons, [A-] is the concentration of the conjugate base, and [HA] is the concentration of acetic acid. Since acetic acid generates only one proton per molecule, [H+] = [A-] so you can rewrite this as
K = [H+]2 / [HA]
You already know the concentration of HA from the problem and K can be found in your book or online as 1.7x10-5.
Plug them in and get [H+] and then to convert from concentration of H+ to pH use
pH = -log([H+])