1 | initial version |
This sounds like homework. To find the Taylor command, I suggest that you look at the quick ref at:
http://wiki.sagemath.org/quickref?action=AttachFile&do=view&target=quickref-calc.pdf
You can find a method for extracting the coefficients by looking through:
http://www.sagemath.org/doc/reference/calculus/sage/symbolic/expression.html