211k views
4 votes
Ryan opens a bank account with $50. Each month he deposits an amount that doubles his savings. Ryan gets $2 from the bank each month as an incentive for maintaining this savings pattern. Which of the following recursive function represents the amount in Ryan’s account in any month? A. next = 2 × now + 2, starting at 50 B. next = 2 + 2, starting at 2 C. next = now + 2, starting at 50 D. next = 2 – now, starting at 50 E. next = 2 × now, starting at 2

User Josephting
by
7.5k points

2 Answers

2 votes
I would say that it is 2*now + 2 starting at 50, which is A.
User Tamecka
by
7.0k points
4 votes
A
The initial amount is $50
It is doubled every month
And 2 dollars is added by the bank
Therefore, the equation becomes:
Next = 2 x now + 2, starting at 50
User Sebak
by
7.3k points