In a laboratory experiment, a chemist prepares a solution by dissolving compound X in water, where compound X is a weak acid that partially dissociates in solution. The dissociation constant (Ka) for this acid is known to be 5.0 x 10-5. If the chemist dilutes the solution to a concentration of 0.1 M and measures the pH, what would be the expected pH value of the solution?
Consider the equilibrium established during the dissociation of the weak acid: HA ↔ H+ + A-. Use the provided Ka value to calculate the pH.