powered by
General function to solve classic quadratic equation: $$ a x^2 + b x + c = 0 $$
quadratic_eqn(a, b, c)
Vector of two values corresponding to the roots for the quadratic equation.
Numeric value for quadratic term of x.
Numeric value for multiplicative term of x.
Numeric value for constant term.
Guy J. Abel
quadratic_eqn(a = 2, b = 4, c = -6)
Run the code above in your browser using DataLab