User Tools

Site Tools


gibson:teaching:fall-2013:math445:lab2

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gibson:teaching:fall-2013:math445:lab2 [2013/09/02 18:23]
gibson
gibson:teaching:fall-2013:math445:lab2 [2013/09/02 18:34] (current)
gibson
Line 3: Line 3:
 **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.  **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 ​understand ​everything!//​+//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 ​ **Problem 1:** In Matlab, create a 2 x 2 matrix ​
Line 14: Line 14:
 \right] \right]
 </​latex>​ </​latex>​
-and a 2-d vector<​latex>​+and a 2-d vector 
 +<​latex>​
 b = \left[ b = \left[
 \begin{array}{cc} \begin{array}{cc}
Line 21: Line 22:
 \end{array} \end{array}
 \right] \right]
 +</​latex>​.
 What vector $x$ satisfies $Ax=b$? What vector $x$ satisfies $Ax=b$?
  
Line 30: Line 32:
 **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 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:** (bonus) Use Matlab to solve the problem. A man 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. +**Problem 5:** From //Numerical Computing with Matlab// by Clive Moler.
- +
-**Problem 6:** From //Numerical Computing with Matlab// by Clive Moler.+
  
 {{:​gibson:​teaching:​fall-2012:​math445:​truss2.png?​direct&​600}} {{:​gibson:​teaching:​fall-2012:​math445:​truss2.png?​direct&​600}}
Line 39: Line 39:
  
 {{:​gibson:​teaching:​fall-2012:​math445:​truss4.png?​direct&​600}} {{:​gibson:​teaching:​fall-2012:​math445:​truss4.png?​direct&​600}}
 +
 +
 +**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.1378171386.txt.gz · Last modified: 2013/09/02 18:23 by gibson