def integral_bounded(fn, lb, ub):
    (integral, _) = integrate.quad(fn, lb, ub)
    return integral
def integral_bounded(fn, lb, ub):
    (integral, _) = integrate.quad(fn, lb, ub)
    return integral