def create_time_variant_multiplicative_function(time_variant_function):
    """
    similar to create_multiplicative_function, except that the value to multiply by can be a function of time, rather
        than a single value

    :param time_variant_function: function
        a function with the independent variable of time that returns the value that the input should be multiplied by
    :return: function
        function that will multiply the input value by the output value of the time_variant_function
    """
    return lambda input_value, time: time_variant_function(time) * input_value