In the lecture and course material we learn that the reason for J(w), or k, not being calculated as the exact theoretical value (e.g. 6 in the given examples) is that epsilon is not infinitesimally small. In the optional lab, we are invited to decrease epsilon further and to observe the error in calculated k vs theoretical k decreasing as a result. For very small epsilon values, I observe k to increase rather than decrease.
For example, with epsilon = 0.0000001, k = 6.000000087880153.
With epsilon = 0.000000000001, k = 6.000533403494046 .
Is this perhaps due to floating point error? Or have a misunderstood something?