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

Differentiate the equation x = x (t ) and y = y (t ) , Suppose that x = x (...

Suppose that x = x (t ) and y = y (t ) and differentiate the following equation with respect to t. Solution                                         x 3 y 6 + e 1- x - cos (5

Erp for a company, recomendation to a company to implement ERP to succeed

recomendation to a company to implement ERP to succeed

Quadratic equation, find a quadratic equation whose roots are q+1/2 and 2p-...

find a quadratic equation whose roots are q+1/2 and 2p-1 with p+q=1

Solve the second order differential equations, Solve the subsequent IVP ...

Solve the subsequent IVP Y'' - 9 y = 0, y(0) = 2, y'(0) = -1 Solution First, the two functions  y (t ) = e 3t  and  y(t ) = e -3t That is "nice enough" for us to

Problem solving sequence: the operations, marianne took $100.00 to a store ...

marianne took $100.00 to a store that was holding a no-tax sale. she bought a shirt for $24.99, sandals for $18.50, shorts for $16.49, and a beach bag for $21.69. how much did she

Circles, assignment on theorems on circle for class 9

assignment on theorems on circle for class 9

Quartic polynomial, Question: Let f be a quartic polynomial (ie. a poly...

Question: Let f be a quartic polynomial (ie. a polynomial of degree 4). Suppose that f has zeros at -2; 1; 3; 4 and that f(0) = 4. Sketch a graph of f. If f(x) is

Assemble the coefficient matrix and solve the linear system, Solve discrete...

Solve discrete harmonic mapping of a given surface patch (suppose the surface is genus-0 and with one boundary) 1. Map the boundary loop onto a unit rectangle using chord-length

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