1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Software assignment - Evaluate the limit & compare the series

  1. Oct 16, 2013 #1

    A.Q

    User Avatar

    Software assignment -- Evaluate the limit & compare the series

    1. The problem statement, all variables and given/known data

    951511543.png

    2. Relevant equations



    3. The attempt at a solution

    In part a, I used Microsoft mathematics and found it e
    804729616.png
    In part b, I used [itex]\sum[/itex] but I can't find the right formula
    I don't want an easy answer but I realy have no idea about part b, it's not even in the textbook
     
  2. jcsd
  3. Oct 16, 2013 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Try computing the first few terms of the series. Or write a little spreadsheet that will do it for you.
     
  4. Oct 16, 2013 #3

    A.Q

    User Avatar

    Is it right?
    651519207.png
     
  5. Oct 16, 2013 #4

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Obviously you cannot evaluate the series for every point between -∞ and ∞, but you can plot it for a subset of that range.
     
  6. Oct 16, 2013 #5

    A.Q

    User Avatar

    I can't plot it as a function because the power of x increases till infinity.
    Could you explain me how to plot that series, please?
     
  7. Oct 16, 2013 #6
    Indeed you can NOT plot all terms so you need to cut it somewhere to get a feeling to which value it is going.
     
  8. Oct 16, 2013 #7

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    You labeled this as a software assignment, so presumably you are supposed to write some kind of software to evaluate the series.
     
  9. Oct 16, 2013 #8

    A.Q

    User Avatar

    to which term should I cut it, I think every term makes a great difference
     
  10. Oct 16, 2013 #9

    A.Q

    User Avatar

    Right, I'm supposed to use Microsoft mathematics or Maxima to answer this question so how can I do it using a sophisticated calculator, what is the mathematic operation?
     
  11. Oct 16, 2013 #10

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Does it? Try it with x equal to a small number. You should see those terms quickly start dropping. Then try with a slightly larger number, say x=10. Now it's going to take a while, 15 or 20 terms, before they start dropping. But then they will drop quickly. Now try -10.

    No matter how big you make x, those terms will eventually start dropping. Have you studied series in a mathematics class?

    I would suggest keeping x to a smallish range. -20 to 20, for example, or even smaller. You will find that the value of the series grows large quite rapidly as x gets larger and larger.
     
  12. Oct 16, 2013 #11

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    You have Mathematica? Just let it evaluate the infinite series for you. Mathematica knows about Infinity.
     
  13. Oct 16, 2013 #12
    I'm assuming this is an exercise in using some type of CAS software such as Mathematica or other and not a programming exercise to compute these things numerically. So what you need is to come up with the summation formula for part b, that is:

    [tex]\sum_{n=0}^{\infty} a_n x^n=1+x+\frac{x^2}{2}+\frac{x^3}{3!}+\cdots[/tex]

    well, [itex]x^0=1[/itex] and then they're all just increasing powers so part of it is just

    [tex]\sum_{n=0}^{\infty}a_n x^n[/tex]

    and the others are just increasing factorial functions [itex]\frac{1}{0!}, \frac{1}{1!}, \frac{1}{2!}[/itex] and so on. So what's [itex]a_n[/itex] then?
     
  14. Oct 16, 2013 #13

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    The series in part b is one of the most recognizable there is. IDK what kind of book you are using, but I'm surprised it's not in there.

    Anywho, you can evaluate the sum thru the first 10 terms or so with a calculator. I think you'll be amazed at the result.
     
  15. Oct 16, 2013 #14

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Mathematica and maple will recognize it right off the bat.
     
  16. Oct 17, 2013 #15

    A.Q

    User Avatar

    [itex]a_n[/itex]=[itex]1/n![/itex]

    I've plotted the first 10 terms and I was really amazed because there isn't any similarity between it and (1+[itex]1/x[/itex])[itex]^{x}[/itex]
    689909694.png
    how should I compare part a & b
     
  17. Oct 17, 2013 #16

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    What're you doing? This isn't a plotting exercise. You've got to find the SUM of the series in part b.

    For part b, let x = 1 and sum up the first 10 terms or so. Compare that result with what you got in part a.
    You can use Mathematica or MS Mathematics or the simple Calculator app. Takes less than 5 minutes.
     
  18. Oct 17, 2013 #17

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    I didn't know you had Mathematica until post #9. (My post #10 was in response to a previous post.) Mathematica knows about factorials, and it knows about infinity (it's Infinity in Mathematica).

    Just have it sum the series as expressed in the original post. Sum[x^n/n!, {n, 0, Infinity}] should do it.
     
  19. Oct 17, 2013 #18

    A.Q

    User Avatar

    Thank you Mr. D H. that is exactly what I need
     
  20. Oct 17, 2013 #19

    A.Q

    User Avatar

    I've got it but why x=1.
    the question says -inf[itex]\leq[/itex]x[itex]\geq[/itex]inf . How I'm supposed to get the hint that when x=1 the series equals e
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Software assignment - Evaluate the limit & compare the series
  1. Limit of a series (Replies: 5)

  2. The limit of a series (Replies: 5)

Loading...