Bisection method and the newton method, Mathematics

Assignment Help:

1. Write two m-files, one for the bisection method and another for Newton's method.

2. Using both the Bisection method and the Newton method answer the following:

Include the commands you typed into Matlab

a) Find the root to 3, 5, and 8 decimal places of f(x) = x2- 2 starting with an initial approximation of x=1.

b) How many steps did it take for the bisection method to find the root to 3, 5, and 8 decimal places?

c) How many steps did it take for the Newton method to find the root to 3, 5 and 8 decimal places?

3. Use Newton's method to find all the real roots of f(x) = x5+ x4 -4x3 - 3x2- 3x +1

4. Apply Newton's method to the function f(x) = x3 - x with an initial approximation of x=1/√5.  Is the method converging?  What happens?  Explain your answer using the graph of f(x).

5. Use Newton's method on the function (x) = 3√5 . What happens when your initial approximation is not x=0?  Explain your answer using the graph of f(x).


Related Discussions:- Bisection method and the newton method

Complex number, a ,b,c are complex numbers such that a/1-b=b/1-c=c-1-a=k.fi...

a ,b,c are complex numbers such that a/1-b=b/1-c=c-1-a=k.find the value of k

Hyperboloid of one sheet - three dimensional spaces, Hyperboloid of One She...

Hyperboloid of One Sheet The equation which is given here is the equation of a hyperboloid of one sheet. x 2 /a 2 + y 2 /b 2 - z 2 /c 2 = 1 Here is a diagram of a com

Multiple linear regression models, Multiple Linear Regression Models T...

Multiple Linear Regression Models There are situations whether there is more than one factor which influence the dependent variable Illustration Cost of production weekl

Change of base of logarithms, Change of base: The final topic that we have...

Change of base: The final topic that we have to look at in this section is the change of base formula for logarithms. The change of base formula is,

An even number is selected, Let the Sample Space S = {1, 2, 3, 4, 5, 6, 7, ...

Let the Sample Space S = {1, 2, 3, 4, 5, 6, 7, 8}. Suppose each outcome is equally likely. Compute the probability of event E = "an even number is selected".

Mealy and Moore Machine, Distinguish between Mealy and Moore Machine? Const...

Distinguish between Mealy and Moore Machine? Construct a Mealy machine that can output EVEN or ODD According to the total no. of 1''s encountered is even or odd.on..

Carrot juice, 1. His favorite current carrot drink contain 40%. but h eneed...

1. His favorite current carrot drink contain 40%. but h eneeds add to 80 quarts wife brought his perfect drink mix.

Discrete math, ) Show that the following argument is valid: (~p ? q) =>...

) Show that the following argument is valid: (~p ? q) => r s ? ~q ~t p => t (~p ? r) => ~s ------------------------ ? ~q 2) Show that the following argum

Impact did this have on spanish approach their subjugation, Compare and con...

Compare and contrast the Conquest of Mexico and the Conquest of Peru in the 16 th century. How did the structures of the indigenous empires in these two regions differ? What impact

Normal to y=f(x) , If the normal to y=f(x) makes an angle of pie/4 with y-a...

If the normal to y=f(x) makes an angle of pie/4 with y-axis at (1,1) , then f''(x) is eqivalent to? Ans) The normal makes an angle 135 degree with the x axis. also f ''(1)

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd