A transformer is a static device that is used to transfers power from one circuit to another circuit. The transformer transfers power with the desire…