File: torus.ode

package info (click to toggle)
xppaut 5.85-3.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,568 kB
  • ctags: 7,729
  • sloc: ansic: 80,804; cpp: 965; makefile: 271
file content (9 lines) | stat: -rw-r--r-- 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