Message-ID: <4DE8A810.9030501@statistik.tu-dortmund.de>
Date: 2011-06-03T09:23:28Z
From: Uwe Ligges
Subject: newton raphson
In-Reply-To: <BANLkTinUsc5rLcTq4XsrLN+TyUHvEKqyYA@mail.gmail.com>
Dear Jesper,
since you want to write this yourself it is obvious this is a homework
problem. Please ask your supervisor for support on homeworks.
Uwe Ligges
On 02.06.2011 22:28, Jesper H?rnblad wrote:
> Hi
>
> I would like to use the newton raphson method to find the root if the
> equation x^3-0.165*x+0.0003993 without using any readliy available program
> in r but instead by writing my own code and loop. the problem is that i
> really cant understand how to write the loop so that it keeps using the last
> calcualted values. if anyone could help me or give me some tips i would
> deeply appriciate it
>
> thanks
> jesper
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.