This document describes an iterative bisection method to find the root of the function 2 * sin(x) + cos(2x) between an initial range. Over 17 iterations, it narrows down the range of r from [4.712389, 6.283185] to [5.908415, 5.908463] by bisection with an allowed error of 1 x 10-5.
1 of 1
Download to read offline
More Related Content
Ppt 151-151
1. 151‡øÁ¢ÖÐÑë´óŒW”µŒWϵ
¶þ·Ö±Æ½ü·¨ : Á•î} 2
1 : r in [ 4.712389e+00 , 6.283185e+00 ]
2 : r in [ 5.497787e+00 , 6.283185e+00 ]
3 : r in [ 5.890486e+00 , 6.283185e+00 ]
4 : r in [ 5.890486e+00 , 6.086836e+00 ]
5 : r in [ 5.890486e+00 , 5.988661e+00 ]
...
15 : r in [ 5.908415e+00 , 5.908510e+00 ]
16 : r in [ 5.908415e+00 , 5.908463e+00 ]
17 : r in [ 5.908439e+00 , 5.908463e+00 ]
? Çó³ö 2 ? sin(x) + cos(2x) ¸ù
ÔO¶¨Æðʼ…^ég [ ]£¬ÈÝÔSÕ`²î 1 ¡Á