0
$\begingroup$

Is there any built-in way to print the highest power of polynomial first and followed by the rest?

     In[1]:=  Normal[Series[Log[1-x],{x,0,5}]]
     Out[1]:=-x - x^2/2 - x^3/3 - x^4/4 - x^5/5

the expected output is

      - x^5/5 - x^4/4 - x^3/3 - x^2/2  - x  

basically reversing the order.

In addition, I want to save the expression in a text or .m file for further manipulation. TraditionalForm does not serve this purpose.

$\endgroup$
  • 1
    $\begingroup$ This is duplicate. You can try Normal[Series[Log[1 - x], {x, 0, 5}]] // TraditionalForm $\endgroup$ – Nasser Oct 4 '19 at 8:25
  • 1
    $\begingroup$ There's also PolynomialForm $\endgroup$ – Michael E2 Oct 4 '19 at 10:37
  • $\begingroup$ @Nasser, this is not the expected output. Of course it reverses the order but in the Traditional form as it should be. What is expected is x^5 + ... This is not what it produces. $\endgroup$ – Boogeyman Oct 4 '19 at 18:09