In expressions with an inessential singularity TAYLOR results in an incorrect expansion. In the example code below, apparently TAYLOR expands the numerator to the required order and then divides by "x^2", instead of computing the taylor expansion for the entire expression. Result vs. expected result:
taylor( (x^3 + x^5)/x^2, 4, x, 0 )taylor( (x^3 + x^5)/x^2, 5, x, 0 )taylor( (x^3 + x^5)/x^2, 6, x, 0 ) result 1: x expected: x+x^3 result 2: x expected: x+x^3 result 3: x+x^3 expected: x+x^3
Best Answer