201k views
2 votes
the table shows the cost of pizza based on the number of toppings .write a function to find the cost for pizza with x toppings

the table shows the cost of pizza based on the number of toppings .write a function-example-1
User Tim Ryan
by
6.1k points

2 Answers

7 votes

Answer:


f(x)=2x+10

Explanation:

The given tables shows a relation that can be transform into a function.

From the table we deduct that each toppings cost $2, because for 1 topping is $12, for 2 is $14, for 3 is $16, and so on. So, the ratio of change is


m=(\Delta y)/(\Delta x)=(2)/(1)=2

Where
y represents the cost and
x represents the number of toppings.

Now, we use one pair from the graph (1,12), the ratio of change and the point-slope formula to find the function


y-y_(1)=m(x-x_(1))\\y-12=2(x-1)\\y=2x-2+12\\y=2x+10

Therefore, the function that expresses the given situation is


f(x)=2x+10

Where
y=f(x)

User Hshan
by
5.5k points
7 votes
10 (the price of the pizza) + 2x (the amount of money the cost goes up by)

The function would be
= 10 + 2x

So if you wanted 3 toppings let’s say, you would input 3 into the equation replacing the x.

10 + 2(3) [replacing the x with 3 because that’s the amount of toppings you want]

Then you time 2 by 3 which is 6 and add it to 10, to give you 16.
User Laindir
by
6.2k points