Hacker News new | ask | show | jobs
by onhn 1842 days ago
Note that if f(x) = x^2 then the second derivative f''(x) = 2, so it looks like you're off by a factor of 2 (as well as the accuracy issue).