Ac Generator Working Principle