# Python Program to Solve Quadratic equation

In this program, you will learn how to calculate the roots of a square equation when the coefficients a, b and c are known.

The quadratic formula uses “a”, “b” and “c” from

where “a”, “b” and “c” are just numbers; They are the “numerical modules” of the square equation they have given you to solve.

To understand the following program, you must have the knowledge to follow Python concepts:

For quadratic formula: for

the values of x which are the solutions of the equation are given as:

Now take a look at how to write a program to solve Quadratic equation in Python Programming.

`enter value of a: 49 enter value of b: 9 enter value of c: 36 (-220.5+2046.153403340033j) (-220.5+2046.153403340033j)`

*Originally published at **https://www.epythonguru.com**.*