
Mindy D. answered 10/20/21
High School/College Level Math Tutor - 20 Years of Experience!
A 15" pizza (with no toppings other than cheese, I assume) costs $10.
Larger sizes cost more, as well as additional toppings, so in modeling this with an equation, we need to have 2 input variables, both influencing the output, which is price.
Lets let x represent the diameter of the pizza.
The expression (x - 15)*$1.50 gives the extra amount you would pay for ordering a pizza larger than 15".
Lets let y represent the number of toppings.
The expression y*$1.00 gives the extra amount you would pay for ordering toppings other than cheese.
So now, let's put the two expressions together and not forget the expressions represent the extra cost. The base cost of a 15" cheese pizza is $10.
Total Cost = (x - 15)*$1.50 + y*$1.00 + $10.00, where x is the size (diameter) of the pizza and y is the number of toppings in addition to cheese. (Cheese is included, so if you order just a cheese pizza, then y would be zero)
Lets check a few values:
15", cheese: (15-15)*$1.50 + 0($1.00) +$10.00 = $10.00 ✓
16" cheese: (16-15)*$1.50 + 0($1.00) +$10.00 = $11.50✓
15" 2 topping: (15-15)*$1.50 + 2($1.00) +$10.00 = $12.00 ✓
16" 3 topping: (16-15)*$1.50 + 3($1.00) +$10.00 = $14.50 ✓
18" 5 topping: (18-15)*$1.50 + 5($1.00) +$10.00 = $19.50 ✓
Everything looks good! Bon Appetit!