$pH$ of acids, bases and salts
Exercise 6

Using the table of acid-base couples, calculate the pH of a 4 % (d = 1.0182) trichloracetic acid solution.
Weak acid
If $d$ = 1.0182, then $\rho$ = 1.0182 $\frac{g}{mL}$
Let's take $1\;L$ of solution $S$:
$m_S$ $=$ $\rho \cdot V_S$ $ =$ $ \rho \cdot 1000 $ =
1018.2$\; g$
$m_{}$ =
$\frac{\%_{}\cdot m_S}{100} $ =
$\frac{4 \cdot1018.2}{100} $ =
40.73$\; g$
$n_{}=\frac{m_{}}{M_{}}$ =
$\frac{40.73}{163.38}$ =
0.249$\; mol$
$c_{}$ = $\frac{n_{}}{V_S}$ =
$\frac{0.249}{1}$ =
0.249 $\frac{mol}{L}$
Given $y=[H_3O^+]$
The equation
$y^2$ $+$ $K_a\;y$ $-$ $K_a\;c$ $=$ $0$
becomes:
$y^2$ $+$ $10^{-3.86}y$ $-$ $10^{-3.86} 0.249$ $=$ $0$
and produces:
$y$ $=$ 5.8 10-3
and so:
$pH$ $=$ $ -log\; y$ $ =$ 2.237