Using loops in quadratic equation

2 views (last 30 days)
Tega Otomiewo
Tega Otomiewo on 29 Oct 2014
Commented: James Tursa on 29 Oct 2014
Find and state the nature of the roots of the quadratic equation y=ax^2+bx+c for 6 different set of {a,b,c}. . . . I already know how to go about with finding the nature and roots but how do i instruct matlab to go back to solve the second set after solving the first set {a,b,c} using for loops.
Thanks in advance for your time.
  2 Comments
Tega Otomiewo
Tega Otomiewo on 29 Oct 2014
The image might not be so clear, but that's my flow chart...i get stuck where the decision "New Set" is made. How do i type that in my script?
James Tursa
James Tursa on 29 Oct 2014
Go ahead and post your code in the question block and format it with the { } Code button.

Sign in to comment.

Answers (0)

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!