Question

You rent an apartment that costs $1700$1700 per month during the first year but the rent is set to go up $70$70 per yearWrite a recursive formula to show what the rent is during the nth year of living in the apartment

Answers

GPT 3.5
Let R(n) be the rent during the nth year.

Then, R(1) = 1700 (initial rent for the first year)

For n > 1, R(n) = R(n-1) + 70

Recursive formula:
\[ R(n) = \begin{cases} 1700 & \text{for } n = 1 \\ R(n-1) + 70 & \text{for } n > 1 \end{cases} \]

Related Questions