Download presentation

Presentation is loading. Please wait.

Published byAsa Rodes Modified over 3 years ago

1
Muller’s Method Dan Heflin Sarah Hare

2
Muller’s Method What problem does it solve? How is it represented? Where does it come from?

3
What does Muller’s Method Solve? It finds the Roots of functions including Complex. This method allows the user to find roots for functions that do not have real roots.

4
How is Muller’s Method Represented?

5
Where does Muller’s Method Come From? x n-1 xnxn f(x n-1 ) f(x n ) Secant Method Muller’s Method

6
Algorithm for Muller’s Method For[i=3,(i<=maxit)&&(Abs[xn1-xn2]<=err),i++, t=(xn-xn1)*(xn-xn2); u=(xn1-xn)*(xn1-xn2); v=(xn2-xn)*(xn2-xn1); If[Abs[t]>0 &&Abs[u]>0&&Abs[v]>0, a= (Y0/t)+(Y1/u)+(Y2/v); b=(-Y0(xn1+xn2)/t)+(-Y1(xn+xn2)/u)+ (-Y2(xn+xn1)/v); c=(Y0 (xn1*xn2)/t)+(Y1 (xn*xn2)/u)+ (Y2 (xn*xn1)/v); r1=(-b+Sqrt[b^2 -4a*c])/(2a); r2=(-b-Sqrt[b^2 -4a*c])/(2a); If[Abs[xn2-r1]<Abs[xn2-r2], xn = xn1; xn1 = xn2; xn2 = r1; Y0 = f[xn]; Y1= f[xn1]; Y2= f[xn2];,(*else*) xn = xn1; xn1 = xn2; xn2 = r2; Y0 = f[xn]; Y1= f[xn1]; Y2= f[xn2]; ];

7
Representation Again

8
Example

9
Continued

10
Since r1 is closer to the actual root of the function, we choose r1 instead of r2. The program continues until the limit of iterations has been met, or the actual root has been found. This is the first iteration of Muller’s Method.

Similar presentations

Presentation is loading. Please wait....

OK

MA/CS 375 Fall 20021 MA/CS 375 Fall 2002 Lecture 29.

MA/CS 375 Fall 20021 MA/CS 375 Fall 2002 Lecture 29.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google