Solving a quadratic equation - MATLAB Cody - MATLAB Central

Problem 1026. Solving a quadratic equation

Difficulty:Rate

Given a, b ​​and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

Solution Stats

18.53% Correct | 81.47% Incorrect
Last Solution submitted on Apr 27, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers95

Suggested Problems

More from this Author2

Community Treasure Hunt

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

Start Hunting!
Go to top of page