Calculate Properties of Rectangular Resonant Cavity