gibson:teaching:fall-2013:math445:lab2

**Instructions:** Use the `diary`

feature to create a diary file to record your Matlab session. Run `format compact`

to save electrons and ultimately trees. Solve the problem set, then turn the diary off. Edit the diary with a text editor to remove mistakes, then print out the diary, write the names of your work group members on it, and turn it in.

*Please distribute the work among the group members, and make sure that everyone understands everything!*

**Problem 1:** In Matlab, create a 2 x 2 matrix
and a 2-d vector
.
What vector satisfies ?

**Problem 2:** Save your and to disk (hard drive) and run *clear all* to clear all the variables from Matlab. Then load
and from disk and compute the product to verify that .

**Problem 3:** Use Matlab to solve the problem. Nilanjana has 50 coins worth $9.10. They're all quarters and nickels. How many nickels and how many quarters does she have? Verify that your answer solves the problem.

**Problem 4:** Use Matlab to solve the problem. Flying against the wind, a plane travels 2880 miles in 4.5 hours. Flying with the wind, it travels the same distance in 4 hours. How fast is the wind? How fast is the plane on a windless day?

**Problem 5:** From *Numerical Computing with Matlab* by Clive Moler.

**Problem 6:** (bonus) Use Matlab to solve the problem. A father is three times as old as his son was at the time when the father was twice as old as his son will be two years from now. Find the present age of each if their ages now sum to 55.

gibson/teaching/fall-2013/math445/lab2.txt · Last modified: 2013/09/02 18:34 by gibson