Left-most root Bisection method
显示 更早的评论
How do i solve this? I need help in flowchart and coding. Create a function to determine the left-most root of the following equation using the Bisection Method:
\( f(x) = -x^{3} -3x + 9 \)
The input would be in the sequence, a, b, and error. Name the function "bisection_method(a, b, error)". The "a" is the lower bound, the "b" is the upper bound, and the "error" is the tolerance level. If there is no root then the display would be "no root".
回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!