jackmell
- 1,806
- 54
Hi. Can someone explain to me how to sort a Series so that the terms are in increasing powers of the exponent? For example the code:
myseries = Normal[ Series[Sqrt[1 - w], {w, 0, 5}]] /. w -> 1/z
produces
1-\frac{7}{256 z^5}-\frac{5}{128 z^4}-\frac{1}{16 z^3}-\frac{1}{8 z^2}-\frac{1}{2 z}
I would like them to be
1-\frac{1}{2z}-\frac{1}{8z^2}-\cdots
Thanks,
Jack
myseries = Normal[ Series[Sqrt[1 - w], {w, 0, 5}]] /. w -> 1/z
produces
1-\frac{7}{256 z^5}-\frac{5}{128 z^4}-\frac{1}{16 z^3}-\frac{1}{8 z^2}-\frac{1}{2 z}
I would like them to be
1-\frac{1}{2z}-\frac{1}{8z^2}-\cdots
Thanks,
Jack