The gain of the amplifier is determineded by the control signal applied at the inputc (see diagram); if the control signal is positive the amplifier's gain is g > 0, otherwise the gain is -g.
Find the probability of error for this receiver as a function of the gain g.