Week 2 Practice 2 lab

I am working on the assignment at the end of module 2, and I do not understand why we are meant to use the equation h = h +2*i to find the cost. This assumes that the slope of the line is 2…how do we know that? Where is it coming from? I thought the whole point was to find the value of the slope (w) and the y-intercept (b)?

This is just a first example, not a complete general explanation.

Ok, that’s what I thought. Thanks for clarifying!

1 Like