
Nisrin S. answered 11/10/20
Engineer/Chemist Passionate about Empowering with Knowledge
X (oz) Y (cost)
4 3.20
4.5 3.35
5 3.50
5.5 3.65
6 3.80
We need to solve for Y=mX+b
m is the the slope which is the change in Y over the change in X
The increments of X values are 0.5
The increments of y values are 0.15
Change in Y/Change in X= 0.15/0.5 = 0.3
We now know the slope is 0.3
We have Y=0.3X+b
there are 3 missing variables, we can use one of the points from the table given to solve for b
using point one (4,3.20) X=4 and Y= 3.20
Plugging in, 3.20 = 0.3 (4) + b
b=2
Now you have the general equation:
y = 0.3x + 2
You can double check by plugging in all of the x values and seeing the y values that come out!