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

Modulo Arithmetic, What is Modulo Arithmetic and what is an easy way to rem...

What is Modulo Arithmetic and what is an easy way to remember it?

About matrix?, Explain sparse matrix and Dense matrix?

Explain sparse matrix and Dense matrix?

Minimum value of the function, How the property AM>or = GM used to get min...

How the property AM>or = GM used to get minimum value of the function......e,g for what condition of a and b does minimum value of a tan^2 x + b cot^2 x equals maximum value of a

Determine the area of the walkway, Mark is preparing a walkway around his i...

Mark is preparing a walkway around his inground pool. The pool is 20 by 40 ft and the walkway is intended to be 4 ft wide. Determine the area of the walkway? a. 224 ft 2 b.

Plot your data on a scatter plot, Devise data that link a certain relations...

Devise data that link a certain relationship OF YOUR CHOOSING between two variables. Write a rationale stating why you chose this particular data and what you are planning to STAT

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

Which formula he use if he does not paint bottom of tank, Al is painting a ...

Al is painting a right cylinder storage tank. In sequence to purchase the correct amount of paint he requires to know the total surface area to be painted. Which formula will he us

Bob is 2 years from being double as old as ellen, Bob is 2 years from being...

Bob is 2 years from being double as old as Ellen. The sum of twice Bob's age and three times Ellen's age is 66. How old is Ellen? Let x = Ellen's age and let y = Bob's age. Sin

Example of convergent or divergent - comparison test, Determine if the subs...

Determine if the subsequent series is convergent or divergent. Solution As the cosine term in the denominator doesn't get too large we can suppose that the series term

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