Go through the following exercises. Your report should be in the form of a Maple worksheet, showing your work. Be warned that some of the commands given below do not work correctly. If you find one that generates an error or a wrong answer, explain the error in your worksheet.
p:=1/4*x^3 - 1/5*x^2 -3*x -1;
and
and
?
subs(x=2,p); subs(x=2.0,p); subs(x=1/2,p); subs(x=.5,p);
a1:=subs(x=a,p); a2:=subs(x=a+h,p); a3:=(a2-a1)/h; a3; a4:=simplify(a3); a5:=limit(a4,h=0);
plot(p,x=-5..5); plot(p,x=-5..5,y=-5..5);
f:= x -> x^3/5 -x^4/4 -2*x -1 end;
The Maple commands using
are given below to help you. Note any
differences between how Maple handles functions and expressions.
f(t); f(2); f(2.0); f(1/2): f(.5); b1:=f(a); b2:=f(a+h); b3:=(b1-b2)/h; b3; b4:=simplify(b3); b5:=limit(b4,h=0); plot(f(t),t=-5..5); plot(f(t),t=-5..5,s=-5..5);
defined by

This is entered in Maple by
f:=t -> if t < 2 then t^2 else t fi;
Then try each of the following commands.
f(-1);
f(3);
f(1/2);
f(b);
plot(f,t=-2..4);
plot(f(t),t=-2..4);
plot('f(t)',t=-1..5);
plot('f(t)',t=-1..5,style=LINE);
Remember to close all the plot windows when you are done looking at the graphs.