$n_{Ba} = n_{Ba(OH)_2} = 0,12(mol)$
$n_{H_2} = \dfrac{1,12}{22,4} = 0,05(mol)$
Gọi $n_{Na} = a ; n_O = b$
Ta có :
$23a + 16b + 0,12.137 = 21,1$
Bảo toàn electron : $a + 0,12.2 = 2b + 0,05.2$
Suy ra $a = \dfrac{177}{1550} ; b = \dfrac{197}{1550}$
Suy ra $m_{NaOH} = \dfrac{177}{1550}.40 = 4,57(gam)$