The value of current in the above diagram is (diode assumed to be ideal one)
Assuming that the junction diode is ideal in the circuit shown in fig, the current through the diode is