qqp question1: What is the function of a diode in a generator? How does it work in the circuit? question2: Why is there no output when the diode in half-wave rectifier is reversed biased, but there's an output if the diode in clipper circuit is reversed?