Gọi $n_{NaOH} = a(mol) ; n_{KOH} = b(mol)$
Suy ra : $40a + 56b = 3,04(1)$
$NaOH + HCl \to NaCl + H_2O$
$KOH + HCl \to KCl + H_2O$
Theo PTHH, ta có :
$m_{muối} = 58,5a + 74,5b = 4,15(2)$
Từ (1)(2) suy ra a = 0,02 ; b = 0,04
$m_{NaOH} = 0,02.40 = 0,8(gam)$
$m_{KOH} = 0,04.56 = 2,24(gam)$
Đặt \(\left\{{}\begin{matrix}n_{NaOH}=a\left(mol\right)\\n_{KOH}=b\left(mol\right)\end{matrix}\right.\)
\(PTHH:NaOH+HCl\rightarrow NaCl+H_2O\\ PTHH:KOH+HCl\rightarrow KCl+H_2O\)
Theo đề bài ta có hpt:
\(\left\{{}\begin{matrix}40a+56b=3,04\\58,5a+74,5b=4,15\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}a=0,02\\b=0,04\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}m_{NaOH}=0,8\left(g\right)\\m_{KOH}=2,24\left(g\right)\end{matrix}\right.\)