I came across this question on a test.
A video game store sells video games for \$30 each. The store has a coupon for $9 off the total purchase for up to 10 games.
Determine the equation of the function that describes the relationship between the total cost and the number of video games a customer buys.
I am in grade 11 and with the things we learned, I don't think there is a way to solve this. In code, I can figure out an easy way of solving this by using
if statements. I am not sure about how to solve this in math?
I was thinking:
Let c be total cost Let g be one game c = g(30) - 9
But that would not work for more than the discount.
How would one go about doing this?
Please help. Thank you.