I am looking for assistance with calculating the fabry-perot standing modes in a resonator which has a non-static refractive index.
For a resonator with perfectly reflective mirrors only the standing modes experience sustained population. For a resonator with no internal medium the wavelengths at which a standing mode occurs can be written easily:
$$\lambda_m = \frac{mL}{2}$$
In a material with a refractive index the length of the cavity can be modified to have an effective length given by the product of the refractive index with the real length. The inclusion of a frequency-dependent refractive index causes an issue though. The frequencies that the standing modes appear can no longer be simply found because I believe the result is a non-analytic transcendental equation;
$$E_m(w) = \frac{2 hc}{m\ n(w)\ L}$$
Here the left is the energy of the $m$-th standing mode, and on the right h is Planck's constant, $c$ is the speed of light, m is the mode index, $L$ is the length of the cavity, and $n(w)$ is the frequency dependent refractive index. Written entirely in terms of angular frequency (instead of energy) the equation would be:
$$w_m = \frac{4 \pi c}{m\ L\ n(w)}$$
Would anyone be able to suggest a computational technique to try to solve this problem? Generally $n(w)$ is some complicated function of frequency, $w$, but it could always be fit to some polynomial if necessary. Any and all insight would be appreciated.