Usually cavity detuning is found by cavity pick up signal and feedforward signal from waveguide directional coupler. Cavity RLC mathematical model leads to 2nd order differential equations and after few approximation first order differential equation for cavity voltage is derived which depends on cavity half bandwidth, cavity detuning and driving current. How to deduce the mathematical relation used for cavitydetuning calculation, depending on forward and cavity voltage amplitude and phase??