Explain how a galvanometer functions, using electromagnetic principles.

A galvanometer is an instrument used to detect and measure small amounts of electric current. It functions based on electromagnetic principles, specifically the interaction between a magnetic field and an electric current.

To understand how a galvanometer works, let's break it down into its key components:

1. Coils: A galvanometer consists of one or more coils of wire. These coils are wound around a core, typically made of a ferromagnetic material like iron. The coils serve as the conductive pathway for the electric current to flow.

2. Needle: In a galvanometer, a needle or a pointer is attached to the coils. This needle is suspended within a magnetic field and can rotate freely.

3. Permanent Magnet: A permanent magnet is positioned near the coils. This magnet creates a static magnetic field around the galvanometer.

Here's how the galvanometer functions:

1. Electric Current: When an electric current passes through the coils of the galvanometer, a magnetic field forms around the coils, according to Ampere's Law.

2. Magnetic Field Interaction: As the electric current flows through the coils, the magnetic field generated by the electric current interacts with the static magnetic field created by the permanent magnet. These magnetic fields interact in such a way that an electromagnetic torque is exerted on the coils.

3. Needle Movement: The electromagnetic torque causes the needle attached to the coils to rotate. The angle of rotation of the needle depends on the strength of the current passing through the coils. The greater the current, the larger the angle of rotation.

In summary, a galvanometer functions by using electromagnetic principles. The electric current passing through the coils generates a magnetic field, which interacts with the static magnetic field created by the permanent magnet. This interaction exerts a torque on the coils, causing the needle to rotate. By measuring the angle of rotation, the galvanometer can determine the magnitude of the electric current flowing through it.