How to solve quadratic equation?
Show older comments
I need help with this question fellas.
Write a function called “QuadRoot”that takes user input for a quadratic function (ax^2+bx+c), a, b and c
and calculates the roots of the function.
Note: if the function does not have any real root, show a message indicating that there
is no real root.
2 Comments
Ameer Hamza
on 13 Jun 2020
This seems like a homework question. What have you already tried?
Danny Maefengea
on 13 Jun 2020
Accepted Answer
More Answers (0)
Categories
Find more on Choose a Solver 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!