
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 1
APPM 2450 Calculus 3 Computer Lab Lab Exercise 1
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.
à What is e to 5 decimal places? What is π to 30 decimal places? What is sin(1) to 10 decimal places (remember to use square brackets and a capital ‘S’).
à Define the function f (x) = a ∗ x^2 + b ∗ x + c. Remember, when defining functions to use an underscore after the x on the left hand side, but not the right hand side.
à Evaluate f (0), f (1), f (−1).
à Now, insert a text cell at the very top of the notebook. Type in your name (Format, style, text in the menu).)
à Define x1 =
−b +
b^2 − 4 ac 2 a
, remember to use a * and parenthesis when needed.
à Type f[x1]. What does Mathematica return? What should it return? Use Simplify to get a better answer.
à Define a = 1, b = −1, and c = −6.
à What is f (x) now?
à Get help for the command Factor.
à Use the command Factor to factor f (x).
à Clear the values of a, b, and c, do not restart the kernel or use Quit.
à Define the vectors u = 2i + 7j + k, v = 3i + j + 4k.
à Calculate u · v, |u|, and |v|.
P Use the relationship A · B = |A||B| cos(θ), where θ is the angle between the vectors A and B to calculate the angle between u and v. Note that in Mathematica to calculate cos(x)−^1 you should use ArcCos[x].
P Define the function g(x) = x^3 − 3 x^2 − x + 3.
P Factor g(x).
P Define h(x) = 1/g(x) with the command h[x_]=1/g[x]
P Use Apart to find the partial fraction decomposition of h(x).