mws_com_nle_txt_bisection_examples

mws_com_nle_txt_bisection_examples - Chapter 03.03...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 03.03 Bisection Method of Solving a Nonlinear Equation – More Examples Computer Science Example 1 To find the inverse of a value , one can use the equation a 0 1 ) ( c a c f where c is the inverse of . a Use the bisection method of finding roots of equations to find the inverse of 5 . 2 a . Conduct three iterations to estimate the root of the above equation. Find the absolute relative approximate error at the end of each iteration and the number of significant digits at least correct at the end of each iteration. Solution 0 1 ) ( c a c f 1 ac 1 5 . 2 c Let us assume 1 , 0 u c c Check if the function changes sign between and . c u c   1 1 ) 0 ( 5 . 2 0 f c f 5 . 1 1 ) 1 ( 5 . 2 1 f c f u Hence       0 5 . 1 1 1 0 f f c f c f u So there is at least one root between and , that is, between 0 and 1.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

mws_com_nle_txt_bisection_examples - Chapter 03.03...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online