Gọi số mol NaOH là a (mol)
\(n_{Ba\left(OH\right)_2}=\dfrac{20,52}{171}=0,12\left(mol\right)\); \(n_{H_2}=\dfrac{1,12}{22,4}=0,05\left(mol\right)\)
Ta có sơ đồ:
\(21,9\left(g\right)X\left\{{}\begin{matrix}Na\\Ba\\Na_2O\\BaO\end{matrix}\right.+H_2O\rightarrow\left\{{}\begin{matrix}Ba\left(OH\right)_2:0,12\left(mol\right)\\NaOH:a\left(mol\right)\end{matrix}\right.+H_2:0,05\left(mol\right)\)
Bảo toàn H: \(n_{H_2O}=\dfrac{0,12.2+a+0,05.2}{2}=0,17+0,5a\left(mol\right)\)
Bảo toàn khối lượng:
\(m_X+m_{H_2O}=m_{Ba\left(OH\right)_2}+m_{NaOH}+m_{H_2O}\)
=> \(21,9+18\left(0,17+0,5a\right)=20,52+40a+0,05.2\)
=> a = 0,14 (mol)
=> m = 0,14.40 = 5,6 (g)