Software assignment - Evaluate the limit & compare the series

In summary: This thing is growing really fast. x=0 and x=10 are the largest terms. I'm not sure how to stop it from growing.
  • #1
A.Q
8
0
Software assignment -- Evaluate the limit & compare the series

Homework Statement



951511543.png


Homework Equations





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 really have no idea about part b, it's not even in the textbook
 
Physics news on Phys.org
  • #2
Try computing the first few terms of the series. Or write a little spreadsheet that will do it for you.
 
  • #3
D H said:
Try computing the first few terms of the series. Or write a little spreadsheet that will do it for you.

Is it right?
651519207.png
 
  • #4
Obviously you cannot evaluate the series for every point between -∞ and ∞, but you can plot it for a subset of that range.
 
  • #5
D H said:
Obviously you cannot evaluate the series for every point between -∞ and ∞, but you can plot it for a subset of that range.

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?
 
  • #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.
 
  • #7
You labeled this as a software assignment, so presumably you are supposed to write some kind of software to evaluate the series.
 
  • #8
dirk_mec1 said:
Indeed you can NOT plot all terms so you need to cut it somewhere to get a feeling to which value it is going.

to which term should I cut it, I think every term makes a great difference
 
  • #9
D H said:
You labeled this as a software assignment, so presumably you are supposed to write some kind of software to evaluate the series.

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?
 
  • #10
A.Q said:
to which term should I cut it, I think every term makes a great difference
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.
 
  • #11
A.Q said:
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?
You have Mathematica? Just let it evaluate the infinite series for you. Mathematica knows about Infinity.
 
  • #12
A.Q said:

Homework Statement



951511543.png


Homework Equations





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 really have no idea about part b, it's not even in the textbook

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?
 
  • #13
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.
 
  • #14
SteamKing said:
The series in part b is one of the most recognizable there is.
Mathematica and maple will recognize it right off the bat.
 
  • #15
jackmell said:
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?

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

SteamKing said:
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.

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
 
  • #16
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.
 
  • #17
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.
 
  • Like
Likes 1 person
  • #18
D H said:
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.

Thank you Mr. D H. that is exactly what I need
 
  • #19
SteamKing said:
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.

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
 

FAQ: Software assignment - Evaluate the limit & compare the series

What is a software assignment?

A software assignment is a task given to individuals or teams in order to evaluate their understanding and skills in using software programs or applications. It may involve writing code, debugging, analyzing data, or other related tasks.

What does it mean to evaluate a limit?

Evaluating a limit means finding the value that a function approaches as its input approaches a specific value or as it goes towards infinity. It is an important concept in calculus and is used to determine the behavior of functions at certain points or as they approach certain values.

Why is it important to compare series?

Comparing series is important because it allows us to determine the convergence or divergence of a series. This information is crucial in many areas of mathematics and science, such as in determining the behavior of mathematical models or in analyzing data.

What are some common methods for evaluating limits?

Some common methods for evaluating limits include using algebraic manipulation, substitution, L'Hopital's rule, and the squeeze theorem. These methods may vary depending on the type of limit being evaluated and the complexity of the function involved.

How can software be used to assist in evaluating limits and comparing series?

Software can be used to assist in evaluating limits and comparing series by providing numerical and graphical representations of the functions involved. It can also perform complex calculations and provide step-by-step solutions, making it easier for individuals to understand and verify their work.

Similar threads

Replies
16
Views
3K
Replies
11
Views
2K
Replies
1
Views
1K
Replies
7
Views
2K
Replies
2
Views
932
Replies
12
Views
1K
Replies
14
Views
2K
Back
Top