211k views
4 votes
The table shows the cost of a pizza based on the number of toppings. Write a function rule to find the cost for a pizza with x toppings

The table shows the cost of a pizza based on the number of toppings. Write a function-example-1
User Chantal
by
7.8k points

2 Answers

3 votes

10/x I think but I am not sure


User Michaelpri
by
8.2k points
6 votes

Answer:

Let y represents the cost of a pizza.

here, x represents the number of topping.

Using slope-intercept form:

The equation of line is given by:


y = mx+b .....[1]

where, m is the slope of the line and b is the y-intercept.

From the given table:

Consider coordinates in the form of (x, y)

i,e (1, 12) and (2, 14)

Calculate slope:


\text{Slope (m)} = (y_2-y_1)/(x_2-x_1)

Substitute the given points we have;


m = (14-12)/(2-1) = (2)/(1) = 2

Substitute this in [1] we have;


y =2x+b

Substitute any point from the given table to find b:

Substitute (4, 18) we get;


18 = 2(4) +b

18 = 8+b

Subtract 8 from both sides we have;

10 = b

or

b = 10


y =2x+10

therefore, function rule represents the given data table is,
y =2x+10

User Russ Clarke
by
6.2k points