Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 1026. Solving a quadratic equation

Created by Abdelhak ARESMOUK

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

Problem Group

Solution Statistics

48 correct solutions 166 incorrect solutions
Last solution submitted on May 29, 2015

Problem Comments

Solution Comments