Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.1K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Best way to visualize (plot), the output of the Series[] function

Posted 3 years ago

What is the best way to visualize, by way of a plot, the output of the Series[] function (For example function - Series[E^x, {x, 0, 5}] )? Additionally, is it possible to display the denominators of the output as factorials instead of expanded?

Thank you,

Mitch Sandlin

POSTED BY: Mitchell Sandlin
Posted 3 years ago

The output of Series[E^x, {x, 0, 5}] has head SeriesData, but you can get a "regular" arithmetic expression in x by applying Normal:

Normal[Series[E^x, {x, 0, 5}]]

You can feed this to Plot with variable x:

Plot[Evaluate[Normal[Series[E^x, {x, 0, 5}]]], {x, 0, 5}]

I don't know if this is the "best way" for your application, but it is one way.

Your question about displaying things as factorials is an entirely different question (probably should be submitted separately). I'd hesitate to make any suggestions until I knew more about your context, why you want that, and how general the solution needs to be.

POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard