Solve the below problem:
Q: The op amp in the precision rectifier circuit of Fig is ideal with output saturation levels of }13 V. Assume that when conducting the diode exhibits a constant voltage drop of 0.7 V. Find v-, vO, and vA for:
(a) vI =+1 V
(b) vI =+3 V
(c) vI =-1 V
(d) vI =-3 V
Also, find the average output voltage obtained when vI is a symmetrical square wave of 1-kHz frequency, 5-V amplitude, and zero average.

Op amp in the circuit of Fig. is ideal with output saturation levels of ± 12 V. The diodes exhibit a constant 0.7-V drop when conducting. Find v-, vA, and vO for
(a) vI =+1 V
(b) vI =+3 V
c) vI =-1 V
(d) vI =-3 V
