In the circuit shown below, V(t) is the sinusoidal voltage source, the voltage drop VAB(t) across the resistance R is
A d.c. battery of V volts is connected to a series combination of a resistor R and an ideal diode D as shown in the figure below. The potential difference across R will be