next previous
OVERVIEW

This laboratory should give students practical experience with some of the basic, but often used, mathematica functions and graphics capabilities. It will also demonstrate how to use numerical computation when closed form expressions cannot be obtained.



TASKS

Integrating and Simplifying Expressions

  1. Use Mathematica to calculate an expression for Cheddar , where

       Cheddar$\displaystyle = \int \sqrt{\frac{1}{2 + 3 x^2}}   dx
$

    Try to simplify the form of the expression. Does the expression seem as simple as it should be?
  2. Verify that your expression is correct by taking a derivative of Cheddar .
  3. Use Simplify and the additional assumption that $ x$ is a real number ($ x \in $ Reals). Name this result RealCheddar .
  4. By integrating over the finite domain $ x \in (0,y)$ where $ y > 0$ , show that

       Colby$\displaystyle = \int_0^y
\sqrt{\frac{1}{2 + 3 x^2}}   dx
$

    is the same function as Cheddar .
  5. Plot Colby for $ 0 < y < 20$ .
  6. To generalize the above, consider the values of the definite integral over the unit domain:

       Cheese$\displaystyle = \int_0^1
\sqrt{\frac{1}{a + b x^2}}   dx
$

    where $ a > 0$ and $ b > 0$ .
  7. Plot the surface Cheese for $ 1 < a < 2$ and $ 1 < b < 2$ .
  8. Plot 50 contours of constant value of Cheese within $ 1 < a < 2$ and $ 1 < b < 2$ .

Numerical Calculations

  1. Try and see if Mathematica can integrate

       Comte$\displaystyle = \int_0^z \sin[ 2 \pi x \sin( 2 \pi x)] dx
$

    where $ z$ is a real number.
  2. Using NIntegrate, write a Mathematica function that calculates Comte$ (z)$ .
  3. What is the numerical value of Comte$ (3)$ ?
  4. Plot Comte$ (z)$ for $ 0 < z < 2$ .

Save your Work
Save your work as a mathematica notebook: 3016_Lastname_Lab02.nb.



REPORT

This homework will be graded. Your report on the work above should be ordered as it is above. Your report should include comments that would help one of your classmates understand what your work demonstrates. Send your report as a saved Mathematica notebook with name 3016_Lastname_Lab02.nb to 3.016@pruffle.mit.edu.


© W. Craig Carter 2003-, Massachusetts Institute of Technology