Question: Quadratic procedure

Write a procedure that determines the solutions of a quadratic equation from inputs a, b and c by using the discriminant and the quadratic formula. The quadratic equation procedure should be able to solve all cases: invalid input, linear case, real and complex roots. The procedure should also plot the given equation.

Please Wait...