File: torus.ode

package info (click to toggle)
xppaut 8.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,332 kB
  • sloc: ansic: 74,690; makefile: 127; sh: 92
file content (9 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
# A differential equation on the Torus.  Use the "phAse spc" option to
#  integrate it.
init x=1.5,y
p w1=1,w2=1,beta=1
x'= w1+beta*sin(y-x)
y'= w2+beta*sin(x-y)
@ xp=x,yp=y,xlo=0,ylo=0,xhi=6.3,yhi=6.3,tor_per=6.28318531
@ fold=x,fold=y
d