Determine the resonant frequencies of a rectangular cavity by carrying out a full separation-ofvariables solution to the wave equation for Ez (for TM modes) and Hz (for TE modes), subject to the appropriate boundary conditions of the cavity. [Assume a solution of the form X(x)Y (y)Z(z).]