Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

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

50 correct solutions 171 incorrect solutions
Last solution submitted on Sep 26, 2015

Problem Comments

Solution Comments