Using the special Quadratic Formula:
Just plug in the values of a, b and c, and do the calculations.
Just plug in the values of a, b and c, and do the calculations.
But sometimes we don't get two real answers, and the "Discriminant" shows why ...
python tests.py
The code is written for educational purposes. Training course for web-developers - DEVMAN.org
Theory was taken from that site