Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB CODE 2. (bisection method) Consider finding the root of f(x) = x6 X 1 on [1, 2]. (a) Show that the function has a

MATLAB CODE

image text in transcribed

2. (bisection method) Consider finding the root of f(x) = x6 X 1 on [1, 2]. (a) Show that the function has a unique root & on [1, 2]. Implement the bisection method to get the approximate value of the root. (b) Find the approximation of with high precision. This can be done by either Newton's method or bisection method with lots of iterations. Then compute In = In(en+1) In(en) In(en) In(en-1)' (1) where en = |xn $| (to compute en in the code, use the accurate approximation of instead of the real in the expression). Prove that if that for some q> 1 (recall definition 1.7), lim en = 0, limony exists and equal to his no n+oo e then we mush have limntoorn = q, provided that we further assume u + 0 for q>1 and u (0,1) for q = 1. (The hint of proof is to consider - _ [In(en+1) q ln(en)] [In(en) q ln(en-1)] In(en) In(en-1) and show the limit is 0 for the case q > 1.) Due to this reason, people usually use rn as an indicator for the order of convergence in the experiments. Now plot r vs. n and uses this to show lim ent1 = u > 0 no en cannot be true for any q > 1. This roughly says that the bisection method is not converging with an order q> 1. (c) Plot In(en) vs. n. (Although it is not a straight line, the plot is still close to a line, which implies that we still approximately get en Cua for some u (0,1).) 2. (bisection method) Consider finding the root of f(x) = x6 X 1 on [1, 2]. (a) Show that the function has a unique root & on [1, 2]. Implement the bisection method to get the approximate value of the root. (b) Find the approximation of with high precision. This can be done by either Newton's method or bisection method with lots of iterations. Then compute In = In(en+1) In(en) In(en) In(en-1)' (1) where en = |xn $| (to compute en in the code, use the accurate approximation of instead of the real in the expression). Prove that if that for some q> 1 (recall definition 1.7), lim en = 0, limony exists and equal to his no n+oo e then we mush have limntoorn = q, provided that we further assume u + 0 for q>1 and u (0,1) for q = 1. (The hint of proof is to consider - _ [In(en+1) q ln(en)] [In(en) q ln(en-1)] In(en) In(en-1) and show the limit is 0 for the case q > 1.) Due to this reason, people usually use rn as an indicator for the order of convergence in the experiments. Now plot r vs. n and uses this to show lim ent1 = u > 0 no en cannot be true for any q > 1. This roughly says that the bisection method is not converging with an order q> 1. (c) Plot In(en) vs. n. (Although it is not a straight line, the plot is still close to a line, which implies that we still approximately get en Cua for some u (0,1).)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago