PHYCS 3730/5730
Lab Exercise

These problems are intended as an introduction to Maple.

Exercise 1.

Use Maple to solve the quadratic equation ax^2+bx+c=0. (try ?solve for help).

See if you can get a general solution for the cubic equation. Try 4th and 5th order as well. Can you get solutions for these?


Exercise 2.

Plot cos^3(t) from t=0 to 2*pi.


Exercise 3.

Find Pi to 60 decimal digits. (See ?Pi, ?evalf, ?Digits.)


Exercise 4.

Find the indefinite integral of sin(x)^3, and then differentiate to see if you get the expected result. (Hints: try ?int, ?diff and ?simplify.) Evaluate the definite integral of sin(x)^3 from x=0 to 2.0.