MATLAB Answers

Root finding using a loop structure

2 views (last 30 days)
Jaeweon Lee
Jaeweon Lee on 14 Oct 2019
Answered: Deepak Kumar on 17 Oct 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)?

Answers (1)

Deepak Kumar
Deepak Kumar on 17 Oct 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

  0 Comments

Sign in to comment.

Tags


Translated by