115-05HW4 - 4 Using the function fminsearch from Matlab Fnd...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
University of California, Davis Department of Applied Science Spring 2005 David M. Rocke Numerical Methods EAD 115 October 26, 2005 Homework Assignment 4 Due November 2, 2005 1. Do problems 13.2–13.6 from the text. Note that concave means that the second derivative is everywhere negative, and implies that there is at most one maximum and no minimum. 2. Do problem 14.7 from the text. 3. Using the function from problem 14.7, and the starting point of (0, 0), perform one iteration of Newton’s method and compute the function value.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 4. Using the function fminsearch from Matlab, Fnd the maximum of the function from 14.7. Be sure to negate the function when you deFne the M-Fle since fminsearch Fnds minima. To deFne the function choose ±ile/New and type the function in as in the examples in the book on pages 394 and 395, then save the Fle with the default name. Compare the function value at the optimum to the function values from the Frst iterations of steepest ascent and Newton’s method....
View Full Document

This note was uploaded on 01/20/2011 for the course ENG EAD 115 taught by Professor Rocke during the Spring '10 term at UC Davis.

Ask a homework question - tutors are online