Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked

Simplified web page screenshot with address: https://tpetzoldt.github.io/deSolve-webR/

Topright the hex sticker of the deSolve package with a Lorenz attractor and a symbolic integration formula.

On the left side the following code:

````
library("deSolve")

model <- function(t, y, parms) {
  with(as.list(c(y, parms)), {
    dA <- a * A - b * A * B
    dB <- c * A * B - d * B
    list(c(dA, dB))
  })
}

y0    <- c(A = 1, B = 0.5)
parms <- c(a = 0.1, b = 0.1, c = 0.1, d = 0.1)
yout  <- as.data.frame(ode(y = y0, times = 0:200, func = model, parms = parms))
plot(yout$time, yout$A, type = "l", col = "forestgreen", xlab="time", ylab="prey, predator")
lines(yout$time, yout$B, col = "red")
````

And on the right side, the graphical output of the model.
Photo, no description