I have recently got code that shows me how to show a 70mm length of a 8 - 12 Ghz wave. This works extrmely well in my project. I now have to use a couple of equations that allow me to change the frequency of the wave.
If I start with an 8Ghz wave the wavelength is given by this equation;
wavelenth = 3 * 10^8 / frequency
This frequency is changed between 8 and 12 GHz using a scroll bar. However when this wave enters a waveguide the frequency changes. This following equation governs how the wave changes;
new wavelength in waveguide = original wavelenth / sqrt ( 1 - [( original wavelength / 0.04572)^2]
i then need to use other equations to show how when this wave is reflected back onto itself a standing wave is produced (a wave that appears to be stationary).
These equations I can provide if you feel you may be able to assist me in this department, but any help in just implementing the above equation will be much appreciated.