Taylor expansion
- To: mathgroup at yoda.physics.unc.edu
- Subject: Taylor expansion
- From: Janita Wilting <janita at fys.ruu.nl>
- Date: Fri, 22 Oct 1993 16:08:04 +0100
Hello mathgroup. I want the coefficients list of the 3rd order Taylor expansion of Cos[x]: N[CoefficientList[ Normal[Series[ Cos[x],{x,0,3}]],x]] This gives me {1., 0, -0.5} Note that the coefficient of the 3rd order term, being zero, is missing. N[CoefficientList[ Normal[Series[ Cos[x],{x,0,4}]],x]] gives: {1., 0, -0.5, 0, 0.0416667} What should I do against missing zeroes at the and of the List? Please reply to janita at cv.ruu.nl Thank you!