| MATH1020 Calculus II | Maple Lab 6 | |
| Sections 1-4 | Due: Tuesday, October 26, 1999. | |
| http://www.math.rpi.edu/~mitchj/math1020 | ||
In this lab, we examine the behavior of two series and determine their convergence. Be sure to follow the lab guidelines as described on the class handouts.
This is a slowly converging series. We will investigate how slowly by using Maple. The partial sums of the series can be found by using the Maple command:
> a:=k->1/(k**(6/5));The third command is an ``echo'' that just checks that the partial sums are what we wanted. Note that Maple does not know a simple formula for the partial sums -- if it did, it would use it for Sn(N). In order to find some values for Sn and plot its behavior over a range of values of n type
> Sn:=n->evalf(sum(a(k),k=1..n));
> Sn(N);
> Sn(1); Sn(2); Sn(3); Sn(10); Sn(100); Sn(200);You can also calculate Sn(1000) and Sn(2000). Anything larger is liable to give Maple problems.
> P:=[seq([n,Sn(n)], n=1..200)]: plot(P);
We will now forget that we know the value of the sum, We will try to estimate the sum by using the partial sums and the integral test as discussed in section 11.3 in the text. We want to find bounds on the remainder Rn = s - Sn. We get upper and lower bounds on the remainder Rn=s-Sn:
> RemU := n-> evalf(int(a(k),k=n..infinity));
> RemL := n-> evalf(int(a(k),k=n+1..infinity));
> s:=Sn(infinity);How does this compare with the value of the estimate for the n you found in part 1c?
> a:=n->n*3**n/n!;
> b:=n->a(n+1)/a(n);
> c:=n->sum(a(k),k=1..n);
> F:=[[n,a(n)] $n=1..20]: plot(F);
> G:=[[n,b(n)] $n=1..20]: plot(G);
> H:=[seq([n,c(n)], n=1..20)]: plot(H);
(I gave different expressions for plotting F and H just to show you different ways to get the same result using Maple. For some examples, one of the methods may not work, so try using the other one.)
For each of these three plots, explain what can be concluded about
the convergence of the series
.