Maxima Function
powerseries (expr, x, a)
Returns the general form of the power series expansion for expr
in the variable x about the point a (which may be inf
for infinity).
If powerseries
is unable to expand expr,
taylor
may give the first several terms of the series.
When verbose
is true
,
powerseries
prints progress messages.
(%i1) verbose: true$ (%i2) powerseries (log(sin(x)/x), x, 0); can't expand log(sin(x)) so we'll try again after applying the rule: d / -- (sin(x)) [ dx log(sin(x)) = i ----------- dx ] sin(x) / in the first simplification we have returned: / [ i cot(x) dx - log(x) ] / inf ==== i1 2 i1 2 i1 \ (- 1) 2 bern(2 i1) x > ------------------------------ / i1 (2 i1)! ==== i1 = 1 (%o2) ------------------------------------- 2