Mode visualization with Java applets

Is possible to perform simulation of the differential wave equation for electric and magnetic fields in a rectangular 3-D waveguide and cavities. We shall see that in the TM modes the $ B_z$ always vanishes and that in TE mode $ E_z=0$ . In this figures we illustrate different quantities that act on the particle transport for waveguides. I performed this simulation with a Java applet. The phases of the time-dependent field are showed with colors: blu for positive, red for negative.
Figura: Mixed mode in a cubic cavity. Only $ z$ components are showed. Observe that the TE$ _{01}$ mode creates magnetic field which could deflect particles.
\includegraphics[width=0.50\textwidth]{/media/sda2/mcimage/cavityTETM.eps}
Figura: Intensity of electric and magnetic field in a rectangular waveguide. TM$ _{010}$ mode for both fields.
\includegraphics[width=0.50\textwidth]{/media/sda2/mcimage/guideTM010.eps}
Figura: Transverse component of electric and magnetic field in rectangular waveguide. See on the right side, $ B_z$ is always zero. This is useful to prevent particle deflection on the sides of the waveguide.
\includegraphics[width=0.50\textwidth]{/media/sda2/mcimage/guideTM010z.eps}
Very complicated summation of modes are possible in this applet but for our purpose I analyzed only the TM$ _{010}$

Carlo 2008-03-02