asked 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.​

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

answered
User Rodrigo Asensio
by
8.4k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.