\(pH=14+log\left[OH^-\right]=10\)
\(\Rightarrow\left[OH^-\right]=10^{-4}\)
\(n_{NaOH}=10^{-4}\cdot0.3=3\cdot10^{-5}\left(mol\right)\)
\(m_{NaOH}=3\cdot10^{-5}\cdot40=1.2\cdot10^{-3}\left(g\right)\)
\([H^+] = 10^{-pH} = 10^{-10} M\\ \Rightarrow C_{M_{NaOH}} = [OH^-] = \dfrac{10^{-14}}{10^{-10}}= 10^{-4}M\\ \Rightarrow n_{NaOH} = 10^{-4}.0,3 = 3.10^{-5}(mol)\\ m_{NaOH} = 3.10^{-5}.40 = 1,2.10^{-3}(gam)\)