Question: 3.24 // steffensen's method is a scheme for finding a numerical solution of an equation of the form f(x) = 0 that is similar.to

3.24 // steffensen's method is a scheme for finding a numerical solution 

3.24 // 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: flx;)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 X 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 S(x, y) - 9x + 25y 225 - 0 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 SteffensenRoot to solve Problems 3.2 and 3.3. 3.2 Determine the root of f(x) = x- 2e* by: (a) Using the bisection method. Start with a=0 and b= 1, and carry out the first three iterations. (b) Using the secant method. Start with the two points, x, - 0 and x - 1, and carry out the first three iter- ations. (c) Using Newton's method. Start at x, - 1 and carry out the first three iterations. 3.3 The location i of the centroid of an arc of a circle is given by: rsina 3r Determine the angle a for which i First, derive the equation that must be solved and then determine the root using the following methods: (a) Use the biscction method. Start with a-0.5 and b- 1.5, and carry a out the first four iterations. (b) Use the secant method. Start with the two points a, 0.5 and az = 1.5, and carry out the first four iterations.

Step by Step Solution

3.46 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

solution Copyable code define procedure Sub rootsFindingBySteffensen Declare the needed vari... View full answer

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 Mechanical Engineering Questions!