def constant_force(value):
    """
    Returns a constant force function

    Parameters
    ----------
    value: float
        value of constant force

    Returns
    -------
    f: callable
        function f(t)

    """
    def f(t):
        return value
    return f