a*x^2+b*x+c using "while"

1 view (last 30 days)
Moussaoui Abdelkrim
Moussaoui Abdelkrim on 10 Jan 2020
Edited: Moussaoui Abdelkrim on 12 Jan 2020
Please How can I solve an equation a*x^2+b*x+c using "while"
  1 Comment
James Tursa
James Tursa on 10 Jan 2020
Can you clarify what the equation is by using parentheses and using valid MATLAB syntax?

Sign in to comment.

Answers (1)

David Hill
David Hill on 11 Jan 2020
sin and cos are always between -1 and 1. The equation can never equal 0, unless you really are leaving out some important parentheses.

Categories

Find more on Get Started with MATLAB 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!