Solution
Step 1
Given data for C(x), the bakery's pricing
[tex]\begin{gathered} F\text{or this range 0}\leq x\leq12ofhotcocoabombs\text{ we use C(x) =4x} \\ \text{For this range }1218,ofhotcocoabombs\text{ we useC(x) = }3x+15 \end{gathered}[/tex]
Required
Step 1
To find the cost of 8 hot cocoa bombs
[tex]\begin{gathered} C(8)\text{ lies in the range 0}\leq x\leq12 \\ \text{Hence we use 4x where x = 8} \\ \text{The cost of 8 hot cocoa bombs = 4(8) = \$32} \end{gathered}[/tex]
Step 2
To find the cost of 18 hot cocoa bombs
[tex]\begin{gathered} C(18)\text{ lies in the range 12}Step 3
To find the C(30)
[tex]\begin{gathered} C(30)\text{ lies in the range x}\ge18 \\ \text{Hence we use 3x +15, where x = 30} \\ C(30)\text{ = 3(30) + 15 = 90 + 15 = \$105} \\ \end{gathered}[/tex]
Step 4
What C(30) represents.
C(30) represents the cost of ordering 30 hot cocoa bombs which is $105