Someone asked to solve this polynomial just for fun: x^765+x-400
This is my attempt in solving it.
m=zeros(785,1);
mtrans= m'
mtrans(1)=1;
mtrans(784)=1;
mtrans(785)=-400;
roots(mtrans)
However I don't understand my output is it all the roots that this polynomial has? In addition, assuming that the output is a root, when I tried to plug in the numbers it does not equal to 0.