am facing math domain errror in ths code to solve quadratic equation.

# To solve quadratic equation

a=float(input("Please enter the value of a:"))

b=float(input("Please enter the value for b:"))

c=float(input("Please enter the value for c:"))

# Calculation

import math

value=(math.sqrt(b**2-(4*a*c)))/2*a

print("The solution is:",value)