So I am trying to find the absolute value of the roots of a polynomial in Mathematica. I am quite new to this software and I am having a hard time how to figure out the absolute value of the roots of a polynomial. Here's what I have done.
- I defined a polynomial say
- Now I use:
Solve[P[5,z]==0]This gives me the exact roots of the polynomial, but if I use
Abs[Solve[P[5,z]==0]], this doesn't return the absolute values of the roots. Any help is highly appreciated.