discountedInterval function

Integrate a discounted value