Maple Project 2 MTH 142 Spring 2001
Department of Mathematics, University of Rhode Island
- define in Maple the function
. Produce a plot
of the function with
- Obtain taylor polynomials , , of
for near . Obtain both an exact expression, and also
a formula with coefficients in decimal form.
- Plot together with , , ,
- The error when approximating f(x) by at is defined as
Calculate , , and .
Comment on the numbers you obtain.
- It can be shown mathematically that
Verify that Maple produces the same result.
- Define the the partial sum function
Produce a pointplot of , for
- The error when approximating by is defined as
Calculate , , .
Comment on the numbers you obtained.
COMMENTS and additional information
- Your name, date, class and section should be at the top of your paper.
The final project should have only one author.
You may discuss the project with your classmates,
but what you turn in should contain your own original answers.
Plagiarism is considered a serious offence.
- Before each Maple computation, you should insert an explanation
of what you are about to do.
Neatness and good English will be taken into account.
It is not sufficient to have it right; you should communicate it well.
- Maple should be used in all calculations and plots.
- For additional information on
Plotting, solving equations and calculating integrals
in maple: see the maple worksheet
`` Introduction to Maple in Calculus II''(intro142.mws) ,
located in www.math.uri.edu/Center/workc2.html
- MAPLE HELP will be available in some of the labs.
The schedule and location will be announced at the web site
- To submit this project, you may use the Mathematics Department's electronic submission system, available at www.math.uri.edu
( you must register as soon as possible ).
USEFUL MAPLE COMMANDS
> restart; # good to have this at the top of worksheet;
> with(student); # adds leftsum, rightsum, trapezoid functions (and others)
> with(plots); # adds extra functionality for plots
> f:=x->x^2; # define a function
> f:=x->evalf(x^2); # define a function, force it to give decimal result
> plot([f(x),g(x)],x=0..5);# plot two functions
# plot points (1,g(1)), (2,g(2)),...,(10,g(10)),
# and store the plot under the name p1
> display([p1,p2]); # show two plots called p1 and p2 in one set of coordinate axes
> Pi # the number 3.1415...
> exp(2.5); # exponential function evaluated at 2.5
> taypol:=n->convert( taylor(f(x),x=1,n+1),polynom);
# taypol(5) gives the Taylor polynomial of degree 5 of
# the function f(x) about x = 1;
> sub(x=2,p); # substitute x=2 into p (here p could be a polynomial, for example)
> sum(1/n,n=1..infinity); # infinite sum from n=1 to n=infinity of 1/n