Roots of a quadratic equation. - MATLAB Cody - MATLAB Central

Problem 42987. Roots of a quadratic equation.

Difficulty:Rate

Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

Solution Stats

25.99% Correct | 74.01% Incorrect
Last Solution submitted on Dec 06, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers69

Suggested Problems

More from this Author8

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page