Determine the pH of the following buffer solutions.
(a) $20.0 \mathrm{mL}$ of $0.050 \mathrm{M} \mathrm{HCN}(a q)$ is mixed with $80.0 \mathrm{mL}$ of $0.030 \mathrm{M} \mathrm{NaCN}(a q),$ where the $\mathrm{p} K_{\mathrm{a}}$ of
HCN is equal to 9.31.
(b) $40.0 \mathrm{mL}$ of $0.30 \mathrm{MPIPES}$ acid is reacted with $60.0 \mathrm{mL}$ of $0.15 \mathrm{MPIPES}$ base.