176k views
5 votes
B. A certain chocolate bar costs $50.00 per piece. However, if you buy more than

5 pieces they will mark down the price to P48.00 per piece. Use a piecewise
function to represent the cost in terms of the number of chocolate bars bought.​

User Cory Gross
by
5.6k points

1 Answer

5 votes

Answer:

P(x) = $50.00*x if 0 ≤ x ≤ 5

P(x) = $48.00*x if 5 < x

Explanation:

A piecewise function is a function that acts differently in different regions of the domain.

In this case we know that:

P = $50.00 per piece if the number of pieces is less or equal than 5.

P = $48.00 per piece if the number of pieces is more than 5.

Then if we define our variable x as the number of pieces of chocolate, we can write the price function as:

P(x) = $50.00*x if 0 ≤ x ≤ 5

P(x) = $48.00*x if 5 < x

User Rodrigo Asensio
by
6.4k points