Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Implement Newton's method in Matlab to find a root of f(x) = -2 -1 -3 starting with Io = 1.6. Use a tolerance of

image text in transcribed

1. Implement Newton's method in Matlab to find a root of f(x) = -2 -1 -3 starting with Io = 1.6. Use a tolerance of 1E-8 and report the number of iterations needed. Then implement the Secant Method in Matlab starting with Io = 1.7,11 = 1.67. Use a tolerance of 1E - 8 and report the number of iterations needed. 2a. Modify the Newton's method algorithm to produce the "Accelerated Newton-Raphson Iteration" designed for roots of order M to find a froot of f(x) = (2-1) starting with ro = 1.6 using a tolerance of 1E - 8 and report the number of iterations needed when M = 1,2,5,10. 2b. Do you notice a general trend in the number of iterations vs. the M chosen? 2c. What happens if we take M = 18 or M = 20? Is there a price to pay if we guess the order of the root too large relative to its true order? 3. Redo Problem 6 (above) in Matlab. In Matlab enter matrix as (e.g., A= [1 2:3 4]) where semicolons separate rows. 1. Implement Newton's method in Matlab to find a root of f(x) = -2 -1 -3 starting with Io = 1.6. Use a tolerance of 1E-8 and report the number of iterations needed. Then implement the Secant Method in Matlab starting with Io = 1.7,11 = 1.67. Use a tolerance of 1E - 8 and report the number of iterations needed. 2a. Modify the Newton's method algorithm to produce the "Accelerated Newton-Raphson Iteration" designed for roots of order M to find a froot of f(x) = (2-1) starting with ro = 1.6 using a tolerance of 1E - 8 and report the number of iterations needed when M = 1,2,5,10. 2b. Do you notice a general trend in the number of iterations vs. the M chosen? 2c. What happens if we take M = 18 or M = 20? Is there a price to pay if we guess the order of the root too large relative to its true order? 3. Redo Problem 6 (above) in Matlab. In Matlab enter matrix as (e.g., A= [1 2:3 4]) where semicolons separate rows

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions