Question: Use the following Newton - Raphson algorithm to determine the root of the function: f(x) = x3- 6x2 + 11x - 6 with initial
Use the following Newton - Raphson algorithm to determine the root of the function: f(x) = x3- 6x2 + 11x - 6 with initial value xo = 2.5 and absolute relative error of = 10*. ALGORITHM: Newton - Raphson Inputs: f(r) - The given function - The initial approximation - The error tolerance - The maximum number of iterations Output: An approximation to the root z or a message of failure. Assumption: I= is a simple root of f(r). For k 0, 1. --- do until convergence or falure. Compute f(r). S (zx). Compute IL+1 = Ix - Test for convergence or failure: If ()
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
I have used MATLAB help to determne the roots near 25 The algo... View full answer
Get step-by-step solutions from verified subject matter experts
