00:01
I'm going to start by adding a table of data to the decimal scrathing calculator.
00:05
And we've got the year from 2000 to 2007 with the corresponding outputs, meaning the total sales and billions of dollars for coca -cola.
00:17
We got 14 .75, 15 .7, 16 .899, 17 .33, 18 .1818 .18 .706.
00:33
19 .804 and 20 .36.
00:40
Zoom fit.
00:42
We can see that this looks pretty linear.
00:43
If you're making a sketch of this, you can go from like 1998 to maybe 2010 on the x's.
00:48
On the y's go from about 12, 14 to 22.
00:56
Now i'm going to pick two points to represent the line of best fit and i'm going to go with 2006 19 .804 and 2001 15 .7.
01:13
All right so first we need to calculate the slope between these points and so y2 minus y1 over x2 minus x1.
01:24
That would give us 4 .104 over 5, which is about 0 .8208.
01:30
And now using the first point i'll use, substitute for y equals lmx plus b, so 15 .7 equals 0 .8 times x, which is 2001 plus b, solved for b...