We will use V1 as the inverting input node voltage and V2
as the noninverting input node voltage.
We have V2 = – 2 V = V1 and we have V0 =
voltage of the 8 kΩ resistor
So V0 = – 8. 103 * i0 – 2
Moreover, we have V1 = 12 – 4. 103 * i0
= – 2 V
Thus we have i0 = 14/4 mA = 3.5 mA
And then V0 = – 8. 103 * i0 – 2 = – 30
V