\overline{x}_w=5,55
\frac{2k\cdot 2+(k+3)(k-1)+k(k+1)+6k+(k+1)(k+2)}{2+k-1+k+1+k+k+2}=5,55
\frac{4k+k^2-k+3k-3+k^2+k+6k+k^2+2k+k+2}{4k+4}=5,55 \ |*4k+4
założenie 4k+4\ne0\Rightarrow k\ne -1
3k^2+16k-1=5,55(4k+4)
3k^2+16k-1-5,55(4k+4)=0
3k^2+16k-1-22,2k-22,2=0
3k^2-6,2k-23,2=0
a=3 , b=-6,2 , c=-23,2
\Delta=b^2-4ac=(-6,2)^2-4\cdot 3\cdot (-23,2)=316,84
\sqrt\Delta=\sqrt{316,84}=17,8
k_1=\frac{-b-\sqrt\Delta}{2a}=\frac{6,2-17,8}{2\cdot 3}=\frac{-11,6}{6}=-1,9333...=-1,9(3)
k_2=\frac{-b+\sqrt\Delta}{2a}=\frac{6,2+17,8}{2\cdot 3}=\frac{24}{6}=4
Odpowiedż:
k = -1,9(3) lub k = 4