====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
gibson:teaching:fall-2014:math445:hw1 [2014/09/05 13:06] gibson |
gibson:teaching:fall-2014:math445:hw1 [2014/09/06 11:43] (current) gibson |
||
---|---|---|---|
Line 58: | Line 58: | ||
Hints: Convert the story problem into two equations in two unknowns. Then rewrite this system of equations in matrix-vector notation, $Ax=b$, where $A$ are the known coefficients of the linear equations, $x$ a vector of unknowns, and $b$ a vector of known constants. Enter the matrix $A$ and the known vector $b$ into Matlab, then solve for $x$ using Matlab's backslash operator: ''x = A\b''. | Hints: Convert the story problem into two equations in two unknowns. Then rewrite this system of equations in matrix-vector notation, $Ax=b$, where $A$ are the known coefficients of the linear equations, $x$ a vector of unknowns, and $b$ a vector of known constants. Enter the matrix $A$ and the known vector $b$ into Matlab, then solve for $x$ using Matlab's backslash operator: ''x = A\b''. | ||
- | **Problem 7:** Use Matlab to solve the problem. Suhasini has 44 coins worth %%$%%7.45. They're all quarter, dimes, and nickels. She has twice as many dimes as nickels. How many of each type of coin does she have? Find the answer, and then verify that the solution satisfies the problem. | + | **Problem 7:** Use Matlab to solve the problem. Suhasini has 44 coins worth %%$%%7.50. They're all quarter, dimes, and nickels. She has twice as many dimes as nickels. How many of each type of coin does she have? Find the answer, and then verify that the solution satisfies the problem. |