How Is An Alternating Current Generated