The diode used in the circuit shown in the figure has a constant voltage drop of 0.5 V at all currents and a maximum power rating of 100 milliwatt. What should be the value of resistor R, connected in series with the diode for obtaining maximum current ?