Tag: assuming that the diode is ideal.