Answer:
converts mechanical energy into electrical energy by rotating a coil of wire in a magnetic field
Step-by-step explanation:
generator is based on the principle of Electromagnetic Induction given by Faraday's law.
As per above law rate of change in magnetic flux will induce EMF in closed coil.
![EMF = (d\phi)/(dt)](https://img.qammunity.org/2019/formulas/physics/high-school/jo154xvyfv61w428ndvksbd293yes4ttoq.png)
here we know
![\phi = BAcos\theta](https://img.qammunity.org/2019/formulas/physics/high-school/i7lwc7dh9vykhbv74r8jmn9tn634egkdd8.png)
so we will have
![EMF = (d)/(dt)(BAcos\theta)](https://img.qammunity.org/2019/formulas/physics/high-school/enqt3k9eli2uy42x5qzq0w8rcgydsu0k4g.png)
![EMF = BA\omega sin\theta](https://img.qammunity.org/2019/formulas/physics/high-school/s46toki4j1qtf1ug6bzr2ngwf7ddbsmwys.png)
so in this way if we rotate a coil between magnetic field of strong magnets by using mechanical energy then it will produce electric energy.