def wien_law(x: float) ->float:
    """Implements Wien's displacement law.

    Parameters
    ----------
    x: float
        Temperature or peak wavelength

    Returns
    -------
    float
    """
    b = 0.002897771955
    return b / x
