The silicon diode shown in figure is rated for a maximum current of 10 mA. Calculate the minimum value of resistor R. Assume the forward voltage drop across the diode to be 0.7 V.