
Identify the major product (G) in the following reaction (Bromination with \( Br_2/FeBr_3 \)). 


Two p-n junction diodes \(D_1\) and \(D_2\) are connected as shown in the figure. \(A\) and \(B\) are input signals and \(C\) is the output. The given circuit will function as a _______. 