On Tue, Mar 24, 2020 at 9:13 PM mendes <
mend...@gmail.com> wrote:
>
> Dear all,
>
> In previous versions of Sagemath, this worked fine:
>
> f= 1/(1-x)
> print( maxima(f,x).powerseries(x,0) )
>
> Now, in Sage 9.0, this raises the error:
>
> TypeError: new_name must be a string
is there any reason you cannot simply do
sage: f= 1/(1-x)
sage: f.series(x)
1 + 1*x + 1*x^2 + 1*x^3 + 1*x^4 + 1*x^5 + 1*x^6 + 1*x^7 + 1*x^8 +
1*x^9 + 1*x^10 + 1*x^11 + 1*x^12 + 1*x^13 + 1*x^14 + 1*x^15 + 1*x^16 +
1*x^17 + 1*x^18 + 1*x^19 + Order(x^20)
>
>
> I would be very grateful for any help.
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-support...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/0419af5b-bb76-400e-a2eb-cf9426570f0b%40googlegroups.com.