Problem

(Student Research Project) Muller’s method is an algorithm for computing solutions of an...

(Student Research Project) Muller’s method is an algorithm for computing solutions of an equation f (x) = 0. It is similar to the secant method in that it replaces f locally by a simple function and finds a root of it. Naturally, this step is repeated. The simple function chosen in Muller’s method is a quadratic polynomial, p, that interpolates f at the three most recent points. After p has been determined, its roots are computed, and one of them is chosen as the next point in the sequence. Since this quadratic function may have complex roots, the algorithm should be programmed with this in mind. Suppose that points xn2, xn1, and xn have been computed. Set

where a, b, and c are determined so that p interpolates f at the three points mentioned previously. Then find the roots of p and take xn+1 to be the root of p closest to xn. At the beginning, three points must be furnished by the user. Program the method, allowing for complex numbers throughout. Test your program on the example

If the first three points are 1, 2, 3, then you should find that the polynomial is p(x) = 7(x−3)(x−2)+14(x−3)−4 and x4 = 3.17971 086. Next, test your code on a polynomial having real coefficients but some complex roots.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT