Skip to content
Back to formatted view

Raw Message

Message-ID: <89b6b8c90903232320i61fa9672y1ca2ba9fc38a6179@mail.gmail.com>
Date: 2009-03-24T06:20:53Z
From: Yihui Xie
Subject: newton method
In-Reply-To: <92620.18946.qm@web58702.mail.re1.yahoo.com>

I'm not sure what you meant by "a topic on newton's method"
(algorithm? demo?), but the demonstration in the package 'animation'
might help:

install.packages('animation')
par(pch = 20)
ani.options(nmax = 50)
newton.method(function(x) 5 * x^3 - 7 * x^2 - 40 *
    x + 100, 7.15, c(-6.2, 7.1))

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China



On Mon, Mar 23, 2009 at 11:15 AM, Roslina Zakaria <zroslina at yahoo.com> wrote:
>
> Hi R-users,
>
> Does R has a topic on newton's method?
>
> Thank you for the info.
>