Answer:
[tex]A(n) = 45 - 1.5n[/tex]
The domain goes from 0 to 30
The range is from 0 to 45
Step-by-step explanation:
The amount left can be modeled by a first order function in the following format:
[tex]A(n) = A_{0} - n*p[/tex]
In which [tex]A(n)[/tex] is her amount left, [tex]A_{0}[/tex] is her initial amount, n is the number of songs bought and p is the price of each song.
The problem states that Lexi received a $45 gift card. So her initial amount is 45. Each song costs $1.50, so [tex]p = 1.50[/tex]. So, the function for the amount left on the gift card is:
[tex]A(n) = 45 - 1.5n[/tex]
The range are the values that Lexi can have left. So the range is from 0 to 45.
The domain is the number of musics she can buy. So, the smallest value in the domain is 0. The biggest is the value of n for which [tex]A(n) = 0[/tex]. So:
[tex]A(n) = 45 - 1.5n[/tex]
[tex]0 = 45 - 1.5n[/tex]
[tex]1.5n = 45[/tex]
[tex]n = \frac{45}{1.5}[/tex]
[tex]n = 30[/tex]
The domain goes from 0 to 30