Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer) · Last updated
Op-amps ideal with ±15 V supplies unless stated; diode forward drop as given per question.
Reference texts. A. Sedra & K. Smith, Microelectronic Circuits, 7th ed. (Oxford) — MOS/BJT amplifiers (ch. 7–9), diode wave-shaping (ch. 4), op-amp circuits (ch. 2), CMOS logic (ch. 14). Cross-checks from C. Sadiku, Fundamentals of Electric Circuits.