You go to Wal-Mart to buy some holiday candy. You decide to buy snickers because they have a special deal on snickers. A bag
of snickers costs $3.45, but if you buy 4 or more bags, they only cost $3.00 per bag.
Create a piecewise function to represent the cost of the bags of snickers.
6
SNICKERS
Let "n" be the number of bags of snickers
and "C(n)" be the cost of all bags of snickers purchased.
The piecewise function is
C(n) - {(first option)
{ (second option)

Respuesta :

Answer:

The piecewise function is given as follows;

[tex]\begin{cases}C(n) = \$ 3.45 \times n & \text{ if } x< 4 \\ C(n) = \$ 3.00 \times n & \text{ if } x\geq 4 \end{cases}[/tex]

Step-by-step explanation:

The given parameters are;

The cost of each bag of snickers = $3.45

The cost of each bag of sneakers when buying 4 or more bags = $3.00

Let "n" be the number of bags of snickers and "C(n)" be the cost of all the snickers purchased

The piecewise function is C(n) = {($3.45 × n) for n < 3

{($3.00 × n) for n ≥ 4