What is the output waveform when Vin is given square wave? [Figure description: An ideal op-amp (U1, IDEAL_OPAMP) circuit. Vin is connected through a resistor R1 to the inverting (-) input (pin 2). The non-inverting (+) input (pin 1) is connected to ground. A capacitor C1 is connected in the feedback path between the op-amp output (pin 3, Vout) and the inverting input. There is no feedback resistor, so this is an inverting op-amp integrator.]
- A. Square wave
- B. Sine wave
- C. triangle wave
- D. Saw tooth wave
Answer: C. triangle wave
Explanation: An ideal inverting op-amp integrator integrates the constant positive and negative voltage levels of an input square wave into linear ramps of alternating slopes, yielding a triangular output waveform.