Question: 3.24 II Steffensen's method is a scheme for finding a numerical solution of an equation of the form f(x)0 that is similar to Newton's method

 3.24 II Steffensen's method is a scheme for finding a numericalsolution of an equation of the form f(x)0 that is similar to

3.24 II Steffensen's method is a scheme for finding a numerical solution of an equation of the form f(x)0 that is similar to Newton's method but does not require the derivative of f(x). The solution process starts by choosing a point x;, near the solution, as the first estimate of the solution. The next estimates of the solution X; 1 are calculated by: fix:) 1 X; + 1 = X; f(x; + f(x; ))-f(x; ) write a MATLAB user-defined function that solves a nonlinear equation with Steffensen's method. Name the function Xs SteffensenRoot(Fun, Xest), where the output argument Xs is the numerical solution. The input argument, Fun, is a name for the function that calculates f(x) for a given x (it is a dummy name for the function that is imported into SteffensenRoot), and Xest is the initial estimate of the solution. The iterations should stop when the estimated relative error (Eq. (3.9)) is smaller than 10-6. The number of iterations should be limited to 100 (to avoid an infinite loop). If a solution with the required accuracy is not obtained in 100 iterations, the program should stop and display an error message. Use the function Steffensen Root to solve Problems 3.2 and 3.3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!