Đáp án: $a=5, b=2$
Giải thích các bước giải:
Ta có $n=40$
$\to 3+5+7+5+a+10+b+3=40$
$\to a+b+33=40$
$\to b=7-a$
Mà $\overline{X}\approx 6.4$
$\to \dfrac{3\cdot 3+4\cdot 5+5\cdot 7+6\cdot 5+7a+8\cdot 10+9b+10\cdot 3}{40}\approx 6.4$
$\to \dfrac{7a+9b+204}{40}\approx 6.4$
$\to 7a+9b+204\approx 256$
$\to 7a+9(7-a)+204\approx 256$
$\to 7a+63-9a+204\approx 256$
$\to 2a\approx 11$
$\to a\approx 5.5$
$\to a=5\to b=2$