Moving Breather and Standing Kink

> time_0:=time():

> Title:=`Moving Breather and Standing Kink`:

> m:=2: # the total number of basic elements

> v[2,1]:=1: v[2,2]:=0.4: v[2,3]:=0.154: v[2,4]:=0: # Breather

> T:=2*Pi/(v[2,3]*sqrt(1-v[2,2]^2)):

> L:=T*abs(v[2,2]):

> v[1,1]:=1: v[1,2]:=0: v[1,3]:=0: v[1,4]:=L: # Kink

> B_p:=SGe_parameters(m,v):

> N:=B_p[0,0]; # the number of solitons

[Maple Math]

> Soliton:=(x,t) -> SGe_backlund(x,t,N,B_p);

[Maple Math]

> Nt:=35: Nx:=25:

> L0:=0.15*L: L1:=1.85*L:

> T0:=0: T1:=2*T:

> st:=time():

> A:=SGe_matrix(Soliton,L0,L1,T0,T1,Nx,Nt):

> matrixplot(A,axes=frame,labels=[t,x,``]);

> CPU_running_time:=time()-st;

[Maple Plot]

[Maple Plot]

[Maple Math]

> st:=time():

> Nt:=50: Nx:=35:

> SGe_animate(Soliton,Title,L0,L1,T0,T1,Nx,Nt);

> CPU_running_time:=time()-st;

[Maple Plot]

[Maple Math]

> st:=time():

> Na:=10:

> SGe_ribbon(Soliton,Title,L0,L1,T0,T1,Nx,Nt,Na);

> CPU_running_time:=time()-st;

[Maple Plot]

[Maple Math]

> st:=time():

> Np:=15:

> SGe_pendulum(Soliton,Title,L0,L1,T0,T1,Nx,Nt,Np);

> CPU_running_time:=time()-st;

[Maple Plot]

[Maple Math]

> Total_CPU_running_time_(in_seconds):=time()-time_0;

[Maple Math]