symmetric planar waveguide construction

I am trying to construct a symmetric planar waveguide in the mode solutions to plot the reactivity vs frequency. Also see the transmitted wave of the beam exiting the planar waveguide TE0 how do I construct this simulation?

Dear @janayaf1

I didn’t understand what you mean by reactivity vs frequency? Maybe this is a bit advanced case of what you are looking for: