
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

APPM 2450 - Calculus 3 Computer Lab Lab Exercise 4
APPM 2450 Calculus 3 Computer Lab Lab Exercise 4
Create a Mathematica notebook that does all of the following. Feel free to ask your neighbor or your lab instructor for help if you get stuck. Items with a à are required, items with a P are optional.
à Use Solve to solve the quadratic equation, a ∗ x^2 + b ∗ x + c = 0. Remember to use a double equals sign! ==. Will Solve work on a general cubic, a ∗ x^3 + b ∗ x^2 + c ∗ x + d = 0?
à Define f (x) = x^3 − ex^ + cos(10x). Remember (once again) that ex^ is entered in Mathematica as Exp[x].
à Make a nice plot of y = f (x) for − 4 ≤ x ≤ 4.
à Use Solve to solve f (x) = 0. If for some reason Solve does not work, try FindRoot. Remember the syntax for FindRoot is FindRoot[f[x]==0,{x,guess-for-x}]. Be sure to find all the roots.
à Try to solve the system of equations, (^) { x^2 + y^2 = 1 2 x + 3y = 2 Type ?Solve, click More, scroll down to Further Examples and open the cell named Poly. equations in more than one variable for a similar example.
à Define f (x, y) = e^2 y (^2) −y (^4) −x (^2) +0. 5 y .
à Calculate the following: ∂f∂x , ∂f∂y , ∂
(^2) f ∂x^2 ,^
∂^2 f ∂x∂y ,^
∂^2 f ∂y^2 à Make a nice plot of f (x, y). You will have to choose your domain (x and y values to plot over), set your PlotRange, and use any other options that are appropriate. Label your axes!
à Make a contour plot of f (x, y).
à Use Solve to solve ∇f = 0 , thus finding critical points.
à You should have found 3 critical points above. Make a 3D plot with a “zoomed in” window around each one (total of 3 plots) so you can clearly see what type of critical points you found.
P Use the second derivative test to prove one the critical point near (x, y) = (0, −1) is indeed a maximum.
à Delete all output before you save. Save your notebook as YourLastName4.nb and email as an attachment to your instructor.