Write a function(x) that calculates the cost of learning the machine for x months

The question provides that an initial fee of $1000 and a monthly fee of $115 is paid.
Since the initial fee is a one-time payment and the monthly fee is a recurring payment, over x months, the fee that would have been paid is given o be:
[tex]C(x)=1000+115x[/tex]After 1 year, 12months would have passed. This means that we can scalculate the cost using x = 12 in the equation:
[tex]\begin{gathered} x=12 \\ \therefore \\ C(x)=1000+115(12)=1000+1380 \\ C(x)=2380 \end{gathered}[/tex]ANSERS
(a) The function is:
[tex]C(x)=1000+115x[/tex](b) At the end of one year, he would have paid $2,380.