Root finding using a loop structure
Show older comments
For simplicity, let's say there is an equation
y= 8x + 97
If I want to find x that makes y = 0, how should I use an looping structure (ex. for, while, if)?
1 Comment
Walter Roberson
on 14 Oct 2019
Bisection method.
Answers (1)
Deepak Kumar
on 17 Oct 2019
0 votes
Hi Jaeweon,
you can follow the following links understand the algorithm for solving this using loop and a sample example based on this algorithm.
Regards,
Deepak Kumar
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!