home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
science
/
ode.arj
/
COUPOSC.ODE
< prev
next >
Wrap
Text File
|
1990-01-16
|
218b
|
18 lines
# COUPOSC.ODE
# Two coupled oscillators
# Notice the beats !
$m -4
$n 200
$t 100
x1 = 0
x2 = 9,8,7,6,5,4,3,2,1
v1 = 0
v2 = 0
x1' = v1
x2' = v2
d = x2 - x1
v1' = -x1 - 0.2*d
v2' = -x2 + 0.1*d