! Copyright © 2008 Reginald Keith Ford II ! Newton's Method of approximating roots USING: kernel math math.derivatives ; IN: math.newtons-method : newtons-method ( guess function -- x ) newton-precision [ [ newton-step ] keep ] times drop ;