def linear_model(slope, x0, x):
    """Returns the function value of a linear model.

    The model is y=slope*x + x0.

    Parameters:
        * slope: the slope of the linear function
        * x0: the y-value at x=0
        * x: the x value for which the y value should be determined
    """
    return slope * x + x0