A square wave to sine wave converter can be built using 6 passive components, namely capacitors and three resistors. Using…