$P_{out} = 10^4 \text{ W}$
$P_{in} = 10^2 \text{ W}$
$G = \ ?$
$G = 30\text{ dB}$
$\cfrac{P_{out}}{P_{in}} = \ ?$
$P = 30 \text{ dBm}$
$P_{(dBW)} = \ ?$
$P_{(mW)} = \ ?$
$P = 40 \text{ dBW}$