Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

how to NDSolve x'[t] == 1 where x[t] -> Mod[x,2*Pi] ?

  • To: mathgroup at
  • Subject: [mg7172] how to NDSolve x'[t] == 1 where x[t] -> Mod[x,2*Pi] ?
  • From: calvitti at
  • Date: Tue, 13 May 1997 01:58:11 -0400 (EDT)
  • Organization: Case Western Reserve University
  • Sender: owner-wri-mathgroup at

i'm intersted in integrating ODEs (or systems of 1st order ODEs) that
represent phase dynamics (oscillators) and therefore evolve on
tori. i.e. the state has to be taken modulo 2 Pi whenever it 'leaves'
the range [0,2*PI]?  the simplest example is:

x'[t] == 1  where x[t] -> Mod[x , 2 Pi] 

in general x'[t] == f[x] where f[x] is 2*Pi periodic in all its
arguements defines a smooth dynamical system on an n-torus

how can i force NDSolve to take the modulo of the dependent states?

thanks for the info,

 |          Alan Calvitti          |
 |       Control Engineering       |
 | Case Western Reserve University |

  • Prev by Date: Re: Complete Factorization?
  • Next by Date: Re: Complete Factorization?
  • Previous by thread: Re: Mathematica 3.0 fails on TI-5300 (P-133, Win95 4.00.950a)
  • Next by thread: Smoothing vs. Fitting Splines