import math


def quadratic_equation(a, b, c):
    """ a function that computes the real roots of a given quadratic equation a*X^2+b*X+c=0. """
    d = math.sqrt(b**2-4*a*c)

    r1 = (-b+d)/(2*a)
    r2 = (-b-d)/(2*a)

    return (r1, r2)