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

the jetstream''s speed, A passenger jet took 3 hours to fly 1800 km in the...

A passenger jet took 3 hours to fly 1800 km in the direction of the jetstream. The return trip against the jetstream took four hours. What was the jet's speed in still air and the

Sin[cot-1{cos(tan-1x)}], sin (cot -1 {cos (tan -1 x)}) tan -1 x = A  ...

sin (cot -1 {cos (tan -1 x)}) tan -1 x = A  => tan A =x sec A = √(1+x 2 ) ==>  cos A = 1/√(1+x 2 )    so   A =  cos -1 (1/√(1+x 2 )) sin (cot -1 {cos (tan -1 x)}) = s

Factoring quadratics of the form x2 + bx + c, Factoring quadratics of the f...

Factoring quadratics of the form x 2 + bx + c ? This tutorial will help you factor quadratics that look something like this: x 2 + 7x + 12 (Positive coefficients; no lea

Compute the derivative, Write an octave program that will take a set of poi...

Write an octave program that will take a set of points {x k , f k } representing a function and compute the derivative at the same points x k using 1. 2-point forward di erence

Define a cyclic group, Question 1: (a) Show that, for all sets A...

Question 1: (a) Show that, for all sets A, B and C, (i) (A ∩ B) c = A c ∩B c . (ii) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C). (iii) A - (B ∪ C) = (A - B) ∩ (A - C).

Equations, 20 equations that equal 36

20 equations that equal 36

Divides a given line segment internally in the ratio of 1:3, Divides a give...

Divides a given line segment internally in the ratio of 1:3 Construction : i )Draw a ray AX making an acute angle with AB. ii) Mark 4 points at equal distance. on AX Let

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