[tex]w(x)=2x^3-5x^2-23x-10\\w(x)=2x^3+5x^2+2x-10x^2-25x-10\\w(x)=x(2x^2+5x+2)-5(2x^2+5x+2)\\w(x)=(x-5)(2x^2+5x+2)\\w(x)=(x-5)(2x^2+4x+x+2)\\w(x)=(x-5)(2x(x+2)+1(x+2))\\w(x)=(x-5)(2x+1)(x+2)\\\\\\x-5=0 /+5\\x=5\\\\\\2x+1=0 /-1\\2x=-1 /:2\\x=-\frac12\\\\\\x+2=0 /-2\\x=-2\\\\\text{Pierwiatki wielomianu w(x): } -2, -\frac12, 5[/tex]