EGR_102_Lecture_HW_10_Solution

# EGR_102_Lecture_HW_10_Solution - EGR 102 Lecture HW 10 This...

This preview shows pages 1–2. Sign up to view the full content.

EGR 102 of 2 pages Lecture HW 10 1 EGR 102 Lecture HW 10 This lecture homework will not be collected nor graded This material will be on Lecture Exam 2 Name: Solution PID: Lab Section #: Problem 1: Using Excel or MATLAB, plot the function given below and then use Newton’s method to determine its maximum value. Use an initial guess of x 0 = 2 and perform 5 iterations using 4 decimal places. Place your answers in the spaces provided. f(x) = – 1.5x 6 – 2x 4 + 12x i x f(x) f'(x) f"(x) 0 2.0000 -104.0000 -340.0000 -816.0000 1 1.5833 -17.2029 -109.3126 -342.9813 2 1.2646 3.9246 -33.2898 -153.4765 3 1.0477 8.1786 -8.5628 -80.5683 4 0.9414 8.6818 -1.3309 -56.6200 5 0.9179 8.6979 -0.0528 -52.1708 The first and second derivatives of the function can be evaluated as: 12 8 9 ) ( ' 3 5 x x x f & 2 4 24 45 ) ( " x x x f which can be substituted into Newton’s equation to give: 2 4 3 5 1 24 45 12 8 9 i i i i i i x x x x x x Substituting the initial guess yields:

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 02/03/2012 for the course EGR 102 taught by Professor Hinds during the Spring '09 term at Michigan State University.

### Page1 / 2

EGR_102_Lecture_HW_10_Solution - EGR 102 Lecture HW 10 This...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online