import math

def rootsQEq():
    print("This program finds the real solutions to a quadratic.")
    print()

    a = 2
    b = -5
    c =  3
    #To call a function from the math library, we can use the
    #dot operator as follows:
    s_root_val = math.sqrt(b*b - 4 * a * c)
    root1 = (-b + s_root_val)/(2*a)
    root2 = (-b - s_root_val)/(2*a)

    print()
    print("The solutions are: ", root1, root2)

#Call the function rootsQEq()
rootsQEq()


