Assume : Op-amp is ideal, so the virtual ground is applicable
V+ (non inverting) = V− (Inverting)=0
By KCL at (Inverting terminal)
R1V1+R2V2=2K0−Vout
So, Vout=−2K[R1V1+R2V2]=−[2KR1V1+2KR2V2] .........(1)
Now comparing with given equation
Vout=−[21V1+21V2] .....................(2)
Comparing 1 and 2
2KR1=21;2KR1=2⟹R1=1KΩ;R2=4KΩ
Comments