A rectifier with an appropriate filter serves as a good source of d.c. output. However, the major disadvantage of such…