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.

Respuesta :

The piecewise-defined function to describe this situation:

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

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)

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