# In a current carrying conductor varying electric field generates

In a current-carrying conductor, by varying the electric current, the magnetic field is generated. The direction of the magnetic field generated will be perpendicular to the conductor.

The direction of the magnetic field can be determined as wrapping the right-hand fingers around the wire and the direction of the current is indicated by the thumb.

Ampere’s law is used for determining the magnetic field of a long conductor:

 $B=\frac{\mu _{0}I}{2\pi r}$

Where,

• I is the current in Amperes
• r is the radial distance in metres
• B is the magnetic field in Tesla