[R] Euler & Runge-Kutta

Ismail SEZEN sezenismail at gmail.com
Mon Nov 7 19:52:59 CET 2016


> On 07 Nov 2016, at 19:26, Tom Mosca <tom at vims.edu> wrote:
> 
> Can someone help me with R code to perform approximations to second order differential equations and systems of first order differential equations using Euler's method and Runge-Kutta?  I am not a student and this is not for a test or graded assignment.

What is this for?

> 
> Examples (unrelated to each other):
> 
> h = 0.1
> 
> 1.  3(t^2)y'' - 5ty' + 5y = 0
>     y(1) = 0, y'(1) = 2/3
> 
> 2.  Lotka-Volterra
>     x' = x(3-y)
>     y' = y(x-3)
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list