J.R. S. answered 03/08/21
Ph.D. University Professor with 10+ years Tutoring Experience
Since this is a weak acid, we can simply use the Ka expression:
HA ==> H+ + A-
Ka = [H+][A-]/[HA]
4.2x10-6 = (x)(x) / 0.400 -x (we can ignore x in denominator assuming it is small relative to 0.400 M)
x2 = 1.68x10-6
x = 1.3x10-3 M = [H+] (note; our assumption above was correct as this is only 0.3% of the 0.400 M value)
pH = -log [H+] = -log 1.3x10-3
pH = 2.89