Exponential Discounting
Computing the present value of future payments under exponential discounting at a stated interest rate or discount factor.
Question template
You have an injury settlement that pays stream. You discount future money exponentially at an interest rate of rate% per year, compounded annually. What is the present value of these payments today, to the nearest cent?
Use it
from datasets import load_dataset
ds = load_dataset("narunraman/steer_me", "present_value")curl "https://steer-benchmark.cs.ubc.ca/api/sample?element_name=present_value&n=5&seed=42"
See the Reference for the parameters.