Answer:

Explanation:
Hello,
In this case, the dissociation of the given weak acid is:

Therefore, the law of mass action for it turns out:
![Ka=\frac{[H^+][A^-]}{[HA]}](https://tex.z-dn.net/?f=Ka%3D%5Cfrac%7B%5BH%5E%2B%5D%5BA%5E-%5D%7D%7B%5BHA%5D%7D)
That in terms of the change
due to the reaction extent is:

Thus, by solving with the quadratic equation or solver, we obtain:

Which clearly matches with the hydrogen concentration in the solution, therefore, the pH is:

Regards.