WebMathematics Interactive 2 bug tracking system.
FS#159 - Taylor series for ctg x gives a bad answer
Attached to Project:
wmi2
Opened by Kovacs Zoltan (kovzol) - Thursday, 22 November 2007, 11:44 GMT+2
Last edited by Kovacs Zoltan (kovzol) - Saturday, 03 April 2010, 12:18 GMT+2
Opened by Kovacs Zoltan (kovzol) - Thursday, 22 November 2007, 11:44 GMT+2
Last edited by Kovacs Zoltan (kovzol) - Saturday, 03 April 2010, 12:18 GMT+2
|
DetailsThis may be a Maxima bug, I don't know exactly.
ctg x does not have a Taylor(-MacLaurin) series but a Laurent series only due to its singularity in 0. We should check if we use the Taylor expansion from Maxima or this is a general function which also gives the Laurent expansion, too. Another suggestion is to add another maxima button to provide general Taylor series expansions, not only for the point 0 but other ones, too. My concrete idea is to create another icon (using the log(x) expansion for the point 1) which has 3 parameters: the function, the point and the number of the elements in the expansion. |
This task depends upon
And there is also a taylorinfo(expr) function.
But the taylor function really gives Taylor or Laurent series.
http://maxima.sourceforge.net/docs/manual/en/maxima_30.html#SEC122
expr = taylor(input,x,0,10)
I don't know how to distunguish between the Taylor and Laurent series.