Exercise 0.1: Iterate Newton's method and bisect: ten direct calculations
For lines a) and b), perform three bisection steps starting from the given interval and give the midpoint of the last interval obtained. For lines c) to j), write the Newton iteration, perform two steps from the given and give to three decimals.
Only one setup before computing: write the equation in the form . For bisection, evaluate at the midpoint and keep the half where changes sign. For Newton's method, compute , then , carrying every decimal the calculator gives from one step to the next, in radian mode as soon as a sine appears.
- a) Bisection: on .
- b) Bisection: on .
- c) Newton: , from .
- d) Newton: , from .
- e) Newton: , from .
- f) Newton: , from .
- g) Newton: , from .
- h) Newton: , from .
- i) Newton: , from .
- j) Newton's method applied to to locate the minimum of , from .
Show the solution
Answers
- a) final interval ; midpoint
- b) final interval ; midpoint
- c) ;
- d) ;
- e) ;
- f) ;
- g) ;
- h) ;
- i) ;
- j) ;
The move that decides everything comes before the first calculation: set up , with every term on the same side. An equation such as does not go into Newton's formula as it stands; does. After that, bisection only needs signs, and Newton's method only two evaluations per step.
, . Midpoint : , keep . Midpoint : , keep . Midpoint : , keep . The midpoint of this last interval is . Pitfall: giving the last midpoint TESTED, , instead of the midpoint of the interval obtained.
, . : . : . : . Midpoint: . Pitfall: bisecting and separately; only the sign of their DIFFERENCE tells you which side the root is on.
, , so . , then .
, . . and , so .
, . . and , so .
, . . and , so .
, . and , so . Then and , so . Pitfall: a calculator in degree mode gives and a sequence that no longer has anything to do with the equation.
, . and , so . Then and , so .
, . and , so . Then and , so . Pitfall: the negative derivative; minus times minus, you MOVE to the right.
The minimum is where vanishes: apply Newton's method to , that is and . . Then and , so . Pitfall: writing , which looks for a zero of and not for its minimum.
Check: for Newton's method, must be much closer to than , roughly its square; for bisection, must have opposite signs at the two endpoints of the last interval, and its width must be one eighth of the starting width.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.