Root finding using a loop structure

1 回表示 (過去 30 日間)
Jaeweon Lee
Jaeweon Lee 2019 年 10 月 14 日
回答済み: Deepak Kumar 2019 年 10 月 17 日
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 10 月 14 日
Bisection method.

サインインしてコメントする。

回答 (1 件)

Deepak Kumar
Deepak Kumar 2019 年 10 月 17 日
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

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by