> restart;with(inttrans):with(plots):
> wo:=1:Dw:=wo/5:c:=1:t1:=-50:t2:=200 : x1:=0: x2:=200: k2:=-2:
> g:=w-> exp( - ((w-wo)/Dw)^2);
> fo:=unapply( fourier (g(w) , w, t) , t);
> plot (Re (fo(t)) , t=t1..t2);
propagation ds un milieu non dispersif
> animate ( Re (fo(t-x/c)), t=t1..t2, x=x1..x2, numpoints=200 , resolution=300, frames=30);
relation de dispersion w ---> k(w)
calcul complet du train d'onde ds le milieu dispersif
> # f:=unapply( fourier ( g (w) * exp (I * k(w) *x ) , w , t), x, t);