search for: standardmap2

Displaying 1 result from an estimated 1 matches for "standardmap2".

2011 Jan 25
1
deSolve: Problem solving ODE including modulo-operator
...ODEs (standardmap1), the resulting values of P and Theta, should not be greater than 2pi. Because this was not the case, i was thinking that the function 'ode' has some internal problems with the '%%' or integrating periodical ODEs, so I wrote a modulo-function by myself (modulo and standardmap2). But still I get values much higher than 2pi and I cannot find the error... Any guess? Thanks Full code: ---------------------------------------------------------------- library(deSolve) iterations <- 100 Parameter <- c(k = 0.6) State <- c(Theta = 1 , P = 1) Time <- 0:iteratio...