85.9k views
4 votes
A wholesaler charges a store $3.00 per pound for less than 20 pounds of candy and $2.50 per pound for 20 or more pounds. Create a piecewise-defined function to describe this situation.

User Tjmehta
by
3.0k points

1 Answer

5 votes

The piecewise-defined function to describe this situation:


f(x)=\left\{ \begin{aligned}3n\text{ if n < 20} \\ 2.5n\text{ if n> 20}\end{aligned}\right.

Step-by-step explanation:

Charge for less than 20 pounds = $3.00

Let number of pounds of candy = n

if n < 20 pounds

Total charge: $3 * n = 3n

Charge for more than 20 pounds = $2.5

Let number of pounds of candy = n

if n > 20 pounds

Total charge = $2.5 * n = 2.5n

To create a piecewise-defined function to describe this situation:

Let the total charge = f(x)


f(x)=\left\{ \begin{aligned}3n\text{ if n < 20} \\ 2.5n\text{ if n> 20}\end{aligned}\right.

User MAV
by
4.3k points