A Miller integrator with R = 10 k and C = 10 nF is implemented by using an op amp with VOS = 2 mV, IB = 0. 1 μA, and IOS =20 nA. To provide a finite dc gain, a 1-M resistor is connected across the capacitor.

(a) To compensate for the effect of IB, a resistor is connected in series with the positive-input terminal of the op amp. What should its value be? R = ___.

(b) With the resistor of (a) in place, find the worst-case dc output voltage of the integrator when the input is grounded. V0 = ___