What is the function of the diode in the half wave rectifier?
The diode is used to get the wanted crust in the output wave.If the diode is forward biased then the output wave will be positive half of the input wave and if the diode is reversed biased then the output wave will the negative half of the input wave.