[R] non-linear fourth-order differential equations

Ravi Varadhan rvaradhan at jhmi.edu
Mon Nov 29 16:14:46 CET 2010


OP is asking about a system of fourth-order "differential" equations,
whereas you are telling her how to solve a single, algebraic nonlinear
equation.

Take a look at package "deSolve", and the function `lsode' in that package
for solving a system of nonlinear ODEs (given initial values).

Ravi.

-------------------------------------------------------
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology School of Medicine Johns
Hopkins University

Ph. (410) 502-2619
email: rvaradhan at jhmi.edu

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Wu Gong
Sent: Sunday, November 28, 2010 6:31 PM
To: r-help at r-project.org
Subject: Re: [R] non-linear fourth-order differential equations


Hi Yanika,

Please try ?uniroot and ?ployroot

f <- function(x) x^4-16
uniroot(f, lower= -3, upper=0)
polyroot(c(-16,0,0,0,1))

-----
A R learner.
-- 
View this message in context:
http://r.789695.n4.nabble.com/non-linear-fourth-order-differential-equations
-tp3062805p3062894.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.



More information about the R-help mailing list