Say a polynomial x^2-x^(-2)
, I need to extract its coefficient.
I tried the command CoefficientList[x^2-x^(-2)]
, but no result comes out.
I am confused why it happens. How can I get the desired result {-1,0,0,0,1}
?
It should be an easy question, but I do not know the suitable command. Would you please give me some tips?