How can i solve bisection method to find roots just based on equations and without interval ?
2 ビュー (過去 30 日間)
古いコメントを表示
use the bisection method to find the root to six correct decimal places using 
0 件のコメント
回答 (1 件)
Walter Roberson
2022 年 7 月 18 日
That is not possible. The bisection method only works when there is an interval with the sign() of the function being different between the two endpoints.
If you need to use the bisection method then you will need to come up with endpoints somehow. That is not something that is generally possible for arbitrary "black box" functions, but becomes more possible if you are permitted to use knowledge of the function.
You know that cosine squared is between 0 and 1 for real x, and you know that the sum is 0, so you can deduce that x is between -1 and 0.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!