Vous êtes sur la page 1sur 2

In[2]:= Manipulate@

sol = Quiet @ NDSolve@8


s @tD b − β Hs@tD ∗ i@tDL − b s@tD,
i @tD α r@tD − Hγ + bL i@tD,
r @tD γ i@tD − Hγ + bL r@tD,
s@0D a2, r@0D a3, i@0D a1<, 8s, i, r<, 8t, 0, Tfin<, MaxSteps → ∞D;
Quiet @ TableForm@88TableForm@8
8ParametricPlot3D@Evaluate@8s@tD, i@tD, r@tD< ê. solD, 8t, 0, Tfin<,
PlotPoints → 500, AxesLabel → 8s, i, r<, ImageSize → 200, FaceGrids → All,
AxesEdge → 880, 0<, 81, 0<, 80, 0<<, ImagePadding → 25, BoxRatios → 81, 1, 1<,
Boxed → True, BoxStyle → Directive@Opacity@0.6DD, FaceGridsStyle →
Directive@Opacity@0.3D, Darker@Gray, 0.1DD, PlotLabel → "Hi,s,rL phase plot"D<<D,
88Plot@Evaluate@i@tD ê. solD, 8t, 0, Tfin<, PlotRange → All, PlotStyle →
Darker@Green, 0.5D, ImageSize → 100, AspectRatio → 1, PlotLabel → "i time plot"D<,
8Plot@Evaluate@s@tD ê. solD, 8t, 0, Tfin<, PlotRange → All, PlotStyle →
Darker@Green, 0.5D, ImageSize → 100, AspectRatio → 1, PlotLabel → "s time plot"D<,
8Plot@Evaluate@r@tD ê. solD, 8t, 0, Tfin<, PlotRange → All, PlotStyle →
Darker@Green, 0.5D, ImageSize → 100, AspectRatio → 1, PlotLabel → "r time plot"D<<,
88ParametricPlot@Evaluate@8i@tD, s@tD< ê. solD, 8t, 0, Tfin<, AxesLabel → 8i, s<,
PlotStyle → Darker@Red, 0.3D, ImagePadding → 25, PlotRange → All, PlotPoints → 200,
ImageSize → 100, AspectRatio → 0.85, PlotLabel → "Hi,fL phase plot"D<,
8ParametricPlot@Evaluate@8i@tD, r@tD< ê. solD, 8t, 0, Tfin<, AxesLabel → 8i, r<,
PlotStyle → Darker@Red, 0.3D, ImagePadding → 25, PlotRange → All, PlotPoints → 200,
ImageSize → 100, AspectRatio → 0.85, PlotLabel → "Hi,cL phase plot"D<,
8ParametricPlot@Evaluate@8s@tD, r@tD< ê. solD, 8t, 0, Tfin<, AxesLabel → 8s, r<,
PlotStyle → Darker@Red, 0.3D, ImagePadding → 25, PlotRange → All, PlotPoints → 200,
ImageSize → 100, AspectRatio → 0.85, PlotLabel → "Hs,rL phase plot"D<<<<D,
Style@"length of simulation HtimeL", BoldD,
88Tfin, 20, ""<, 1, 100, ImageSize → Tiny<,
Delimiter,

88b, 0.5<, 0 , 1, ImageSize → Tiny<,


Style@"parameters", BoldD,

88α, 0.5<, 0 , 0.5, ImageSize → Tiny<,


88β, 0.6<, 0 , 0.6, ImageSize → Tiny<,
88γ, 0.5<, 0 , 50, ImageSize → Tiny<,
Delimiter,

88a1, 0.1, "iH0L"<, 0 , 1, ImageSize → Tiny<,


Style@"initial conditions", BoldD,

88a2, 0.9, "sH0L"<, 0 , 1, ImageSize → Tiny<,


88a3, 0, "rH0L"<, 0 , 1, ImageSize → Tiny<, SynchronousUpdating → False,
TrackedSymbols → Manipulate, AutorunSequencing → 81, 3, 5, 7<D
2 abdiok.nb

length of simulation HtimeL


i time plot Hi,f L phase plot
0.10
s
0.08
parameters 1.00
0.98
0.06
0.96
b 0.04 0.94
0.92
a 0.02 0.90 i
0.000.02
0.04
0.06
0.08
0.10

Hi,cL phase plot


b 5 10 15 20

g s time plot
1.00
r
0.98
Out[2]= initial conditions 0.015
0.96
iH0L 0.010
0.94 0.005
sH0L 0.92 0.000 i
0.02
0.04
0.06
0.08
0.10

Hs,rL phase plot


rH0L 5 10 15 20
r time plot
r
0.015
0.015
0.010 0.010
0.005 0.005
s
0.90
0.92
0.94
0.96
0.98
1.00
5 10 15 20

Vous aimerez peut-être aussi