Consider the two diode circuit as shown in the figure below:
The diode D1 and D2 are identical except for that the area of diode D1 is A1 and area of diode D2 is A2. If the input current supplied by the voltage source Vin is equal to Iin, then the value of current ID2 passing through the diode D2(ID2) is equal to