2
$\begingroup$

I need to plot Maclaurin Series for some functions. I tried to define the series like:

series1 = Series[Exp[x], {x, 0, 6}]

and tried to plot it

Plot[series1, {x, 0, 5}]

and also use Normal function, like:

Plot[Normal[series1], {x, 0, 5}]

but unfortunately none of the above worked. How can I do it?

$\endgroup$
2
  • $\begingroup$ I did series1 = Normal[Series[Exp[x], {x, 0, 6}]] and after Plot[series1, {x, 0, 5}] and worked $\endgroup$
    – Raffaele
    Oct 18, 2017 at 13:12
  • $\begingroup$ try also Plot[Evaluate@Normal[series1], {x, 0, 5}] $\endgroup$
    – kglr
    Oct 18, 2017 at 14:36

1 Answer 1

2
$\begingroup$
Plot[Evaluate @ Normal[series1], {x, 0, 5}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.