$pH$ of acids, bases and salts
Exercise 6

Using the table of acid-base couples, calculate the pH of a 4 % (d = 1.0077) formic acid solution.
Weak acid
If $d$ = 1.0077, then $\rho$ = 1.0077 $\frac{g}{mL}$
Let's take $1\;L$ of solution $S$:
$m_S$ $=$ $\rho \cdot V_S$ $ =$ $ \rho \cdot 1000 $ =
1007.7$\; g$
$m_{}$ =
$\frac{\%_{}\cdot m_S}{100} $ =
$\frac{4 \cdot1007.7}{100} $ =
40.31$\; g$
$n_{}=\frac{m_{}}{M_{}}$ =
$\frac{40.31}{46.03}$ =
0.876$\; mol$
$c_{}$ = $\frac{n_{}}{V_S}$ =
$\frac{0.876}{1}$ =
0.876 $\frac{mol}{L}$
Given $y=[H_3O^+]$
The equation
$y^2$ $+$ $K_a\;y$ $-$ $K_a\;c$ $=$ $0$
becomes:
$y^2$ $+$ $10^{-3.75}y$ $-$ $10^{-3.75} 0.876$ $=$ $0$
and produces:
$y$ $=$ 1.24 10-2
and so:
$pH$ $=$ $ -log\; y$ $ =$ 1.907