Quadratic equation - MATLAB Cody - MATLAB Central

Problem 45199. Quadratic equation

Difficulty:Rate

given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if they are real.

Solution Stats

57.74% Correct | 42.26% Incorrect
Last Solution submitted on Nov 25, 2024

Solution Comments

Show comments

Problem Recent Solvers76

Suggested Problems

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