Re:Harvard's 1899 Entrance Exam [pdf]
by jedbrown on Saturday April 09, 2011 @08:31AM
(#2427036)
> that problem would take you hours to solve
I don't know, two Newton iterations are enough:
*GHCi> let croot f x = x - (x^3 - f) / (3*x^2) in take 5 . iterate (croot 0.0093) $ 0.2
[0.2,0.21083333333333332,0.2102957483409451,0.2102943717551532,0.21029437174614204]
Guessing 0.2 as a starting point is obvious enough because 0.2^3 = 0.008.
I don't know, two Newton iterations are enough:
Guessing 0.2 as a starting point is obvious enough because 0.2^3 = 0.008.