Diode and op amp exercise
Kirchoffs current law - make the assumption of whether currents going into VA is positive or negative. Remember the voltage source VR is flipped.
Assume the diode is forward biased, subtract the 0.7 voltage drop, calculate the total input resistance to the op amp, calculate the gain of the opamp (-R2/Rin)