Ibraheem said:
So how is it possible for the inductor to extract the energy to the AC source and at what part of the cycle does this happen?
An inductor, also called a coil or reactor, is a passive two-terminal electrical part which resists changes in
current passing through it.
It consists of a conductor such as a wire, usually wound into a coil.
Energy is stored in a field (magnetic) generated by the coil
as long as current flows.
When the current flowing through an inductor changes with time , the time-varying magnetic field induces a voltage in the conductor working on Farady's law of induction .
According to Lenz's law the
direction of induced E.M.F. is always such that it opposes the change in current that created it.
As a result, inductors always oppose a change in current but this is different from a resistance in usual parlance.
Ibraheem said:
if we have a pure inductor connected to an AC source, the average power is zero.
Neglecting losses, the
energy (measured in
joules, in
SI) stored by an inductor is equal to the amount of work required to establish the current through the inductor, and therefore the magnetic field. This is given by:
where
L is inductance and
I is the current through the inductor.
An inductor’s opposition to change in current translates to an opposition to alternating current in general, which is by definition always changing in instantaneous magnitude and direction. This opposition to alternating current is similar to resistance, but different in that it always results in a phase shift between current and voltage, and it dissipates zero power. Because of the differences, it has a different name:
reactance.
for details see
https://en.wikipedia.org/wiki/Inductor#Stored_energy