In this question, it is given that A factory manufactures widgets based on customer orders. If a customer's order is for less than w widgets, the customer's cost per widget is d dollars. If a customer's order is for at least w widgets, the customer's cost per widget is decreased by c cents for each widget ordered over w widgets. A customer's total cost is t.
In this question, we have to find , what type of function it is .
And since with different conditions, the cost is different, so this question is an example of piecewise function.