Gregory plans to purchase a video game player. He has $500 in his savings account and plans to save $20 per week from his allowance until he has enough money to buy the player.
He needs to figure out how long it will take. What type of function should he use to model this problem? Justify your answer mathematically.