def lorentzian(x_value, amplitude, center, width):
    """
    Evaluate a lorentzian function with the given parameters at x_value.
    """

    numerator = (width**2)
    denominator = (x_value - center)**2 + width**2
    return amplitude * (numerator / denominator)