Root finding using a loop structure

1 visualizzazione (ultimi 30 giorni)
Jaeweon Lee
Jaeweon Lee il 14 Ott 2019
Risposto: Deepak Kumar il 17 Ott 2019
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)?

Risposte (1)

Deepak Kumar
Deepak Kumar il 17 Ott 2019
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

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by