Re: help in VCO circuit
When the transistor is ON the non inverting terminal of OA1 is connected to ground so it is wired up as a inverting amplifier and since R1 = R2 = 33K the gain is -1. When the transistor is off, the non inverting terminal does not have any current flowing in it, so the voltage on it is Vin and so the voltage at the inverting terminal is also Vin(due to negative feedback) and so it is just like a buffer and has a gain 1.
Diode D1 is just a voltage clamper, so that the voltage at the gate of the FET does not rise above 0.7V or so.