Diode iv characteristic