painleve <- function() {
}
deq <- function(t, y, parms) {
list(c(y[2],
t * y[1] + 2 * y[1] ^ 3,
y[4],
y[1] ^ 2,
y[1]))
}
t0 <- 20; tn <- -20
tspan <- seq(t0, tn, length.out=10000)
y0 <- c(airy_Ai(t0),
airy_Ai_deriv(t0),
0,
airy_Ai(t0) ^ 2,
0)
F.ode <- ode(y=y0, times=tspan, func=deq, parms=NULL, method="ode45")
s <- F.ode[, "time"]
F2 <- exp(-F.ode[, "3"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.