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개)

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 CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by