Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer using MATLAB please Newton - Raphson Use the Newton - Raphson method to estimate the root after 7 iterations for the function: g (

Answer using MATLAB please
Newton-Raphson
Use the Newton-Raphson method to estimate the root after 7 iterations for the function:
g(x)=5x2-0.7x-33
Use an initial guess of x0=0.6.
a) Save the answer from each iteration in a vector. You must use a loop and your single line
calculation must be performed by accessing the proper element in the vector and assigning
the result to the proper element in the same vector. For example, suppose you call the
vector x. Then the one line in the loop would be x(?)=x(?)-. You will need
to determine what should replace the question mark and what should be inserted in the
blank.
So, before the first iteration, you would have a vector x=[x0], after the first iteration, x
=[x0,x1], and so forth
Display the vector as a column vector using the disp command. Make sure the values in
the vector are displayed in the long format. Make sure to change back to short afterwards!
b) Calculate the exact real root using the roots function. Display using an fprint
statement with 10 digits to the right of the decimal point.
c) In text, answer the question: "Why does the Newton-Raphson method initially overshoot
the exact value and then increase (or decrease) to converge to the exact value?"
image text in transcribed

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Differentiate 3sin(9x+2x)

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago