Documente Academic
Documente Profesional
Documente Cultură
=
'
=
'
1 2
2
1 2
2 1
1 w w w w
w w
( )
( )
=
=
0 0
25 . 0 0
2
1
w
w
function dwdx=vdpol(w,x)
dwdx = [w(2); (1-w(1).^2).*w(2)-w(1)];
endfunction
x=0:0.1:20;
w=lsode(vdpol, [0.25; 0], x)
plot(x,w(:,1),b;y = y(x);)
grid on
hold on
plot(x,w(:,2),r;dy(x)/dx;)
Sisteme de ecuaii difereniale ordinare de ordinul 1,
cu condiii iniiale
Fie atractorul lui Lorentz:
cu
unde a = 10, b = 28 i c = 8/3
Condiiile iniiale sunt:
Variabila x este definit pe intervalul:
Calculul n GNU Octave, cu lsode:
function dwdx=lorentz(w,x)
a=10;, b=28;, c=8/3;
dwdx = [a*(w(2)-w(1)); w(1).*(b-w(3))-w(2); w(1).*w(2)-c*w(3)];
endfunction
x=0:0.01:50;
w=lsode(lorentz, [1; 1; 1], x);
plot3( w(:,1), w(:,2), w(:,3))
( ) { } 3 ; 2 ; 1 ; e = k x w w
k k
( )
( )
=
=
=
3 2 1
3
2 3 1
2
1 2
1
w c w w
dx
dw
w w b w
dx
dw
w w a
dx
dw
( ) ( ) ( ) 1 0 0 0
3 2 1
= = = w w w
| | 50 ; 0 e x
Atractorul lui Lorentz (animaie din MATLAB/ Demos)