It seems that coeff() and ratcoef() have trouble
extracting coefficients from Taylor expansions
(%i119) taylor(1/x, x, inf, 1);
(%o119)/T/ - + . . .
(%i120) ratcoef(taylor(1/x, x, inf, 1), x, -1);
(%i121) coeff(taylor(1/x, x, inf, 1), x, -1);
A work-around is to get rid of the Taylor property, e.g., by wrapping the expression in subst(0, 0, ...).
Log in to post a comment.