Check your work by evaluating g(π). You should obtain
-π2. If you have trouble, look at Part 6 again.
Now enter g(x)
Use your mouse to highlight this
expression, click the right mouse
button, and select "Differentiate" > "x" from the popup
menus. Maple should make an
arrow pointing to the desired
output. (In Maple versions 11
and higher the arrow has a label. Can you guess what "w.r.t" stands
for?)
Highlight the answer and select "Differentiate"
> "x" from the popup menus again.What do you get?
How would you calculate the third derivative?
If you want to calculate the derivative of an
expression that you have not yet entered, just replace g(x) by
the expression. For example, enter x^3 - x^2 + 2 and use the popup menus to differentate it with respect to
x. Now insert a literal constant in the
expression: Enter x^3 - a*x^2 + 2
Notice that the popup menu gives you a choice of differentating
with respect to x or with respect to a. Try it both ways. Are the answers
what you expect?
Now suppose you want the function dg/dx, that is, g'(x). If
necessary, restore the definition of g by entering g := x ->
x2 * cos(x)
Then enter g'(x) Then g''(x) Evaluate
the second derivative of g at 2 by entering g''(2) and using the popup menus to get a decimal
approximation. Check your understanding so far by using
Maple to calculate the second derivative of tan(x6 - 3x + 5) at 3/2. (The
value is approximately -4521.)