This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
gibson:teaching:fall-2013:math445:lab5 [2013/09/24 12:32] gibson |
gibson:teaching:fall-2013:math445:lab5 [2013/10/03 05:42] (current) gibson |
||
|---|---|---|---|
| Line 37: | Line 37: | ||
| initial guess for the search. | initial guess for the search. | ||
| - | **Problem 3:** Write a ''newtonsearchNd'' function that finds a zero of | + | **Bonus (10 pts):** Write a ''newtonsearchNd'' function that finds a zero of |
| an N-dimensional function ''f'' starting from the initial guess ''x''. | an N-dimensional function ''f'' starting from the initial guess ''x''. | ||
| Use this to find a zero of the nonlinear 3d function | Use this to find a zero of the nonlinear 3d function | ||
| Line 46: | Line 46: | ||
| </latex> | </latex> | ||
| - | Use the initial guess $[x,y,z] = [10, 10, 25]$. | + | Use the initial guess $[x,y,z] = [10, 10, 25]$. Verify your answer by applying it to the 3d function. What do you expect to get? |
| + | |||
| + | ** Bonus (10 points): ** | ||
| + | Give a brief explanation for the Newton's Search. Include the answers to the following questions. | ||
| + | |||
| + | ** - ** Purpose: What is the Newton's method used for? | ||
| + | |||
| + | ** - ** Method: How does it do this? (How is it related to the Taylor Series? Can you explain the equations used in the code?) | ||