The function opposite shows a double pulse. Its spectrum falls
within a wavepacket envelope and has an
appearance similar to the familiar 2 slit interference pattern.
In the applet, the double pulse is in magenta, the even part of the spectrum is in red, the odd
part in green and the magnitude spectrum is in orange. Here horizontal axis corresponds to one period T = 4 ( for f and g).
Some eg parameters are:-
(0.8, 0.8, 0.8, 0.8, 0.1, 0.1, 0.1, 0.1, 10.0, 2.0) even pulse.
(0.8, 0.8, -0.8, -0.8, 0.1, 0.1, 0.1, 0.1, 10.0, 2.0) odd pulse.
(0.8, 0.0, 0.0, -0.8, 0.1, 0.1, 0.1, 0.1, 10.0, 2.0) .
(0.8, 0.8, 0.8, 0.8, 0.1, 0.7, 0.1, 0.1, 10.0, 2.0) .
(0.8, 0.8, 0.8, 0.8, 0.1, 0.7, 0.1, 0.5, 5.0, 2.0) .
When activated the following gif image show how the applet should appear.