262,276 views
9 votes
9 votes
Define a variable and write two functions to represent the monthly cost of each plan

Define a variable and write two functions to represent the monthly cost of each plan-example-1
User Adam Alexander
by
2.6k points

1 Answer

10 votes
10 votes

Given

The two membership plans,

Plan A costs $20.00 per month plus $10.00 per class.

Plan B costs $100.00 per month for unlimited classes.

To define a variable and write two functions to represent the monthly cost of each plan.

Step-by-step explanation:

It is given that,

The two membership plans are,

Plan A costs $20.00 per month plus $10.00 per class.

Plan B costs $100.00 per month for unlimited classes.

Now,

Let c represent the number of monthly classes attended and f(c) represent the monthly cost.

Then, the two functions defined for the two plans are,


\begin{gathered} Plan\text{ }A:f(c)=20+10c \\ Plan\text{ }B:f(c)=100 \end{gathered}

Hence, the two variables are c and f(c) such that,


\begin{gathered} Plan\text{ }A:f(c)=20+10c \\ Plan\text{ }B:f(c)=100 \end{gathered}

User Punitcse
by
3.2k points