Explanation:
The function that represents the cost of pizza with toppings as follows :
y = 2x+8 ...(1)
Where x = 0,1,2 and 3
Here, y depends on x it means y depends on x. y is a dependent variable and x is independent variable.
Domain is the set of input values and range is the output values.
Domain = 0,1,2 and 3
Now, put x = 0 in function (1)
y = 2(0)+8 = 8
Put x = 1 in function (1)
y = 2(1)+8 = 10
Put x = 2 in function (1)
y = 2(2)+8 = 12
Put x = 3 in function (1)
y = 2(3)+8 = 14
So, the range of the function is 8,10,12,14.