Lesson 10 of 15

Magnetic Flux

Magnetic Flux

Magnetic flux PhiPhi quantifies how much of a magnetic field passes through a surface:

Phi=BAcoshetaPhi = BAcos heta

  • PhiPhi — magnetic flux (weber, Wb = V·s)
  • B — magnetic field strength (T)
  • A — area of the surface (m²)
  • heta heta — angle between B and the surface normal

The Cosine Factor

heta hetacoshetacos hetaFlux
1maximum — field perpendicular to surface
45°sqrt2/2sqrt{2}/2intermediate
90°0zero — field parallel to surface

Why It Matters

Flux is the key quantity in Faraday's law of induction: a changing flux induces an EMF. It is also conserved — magnetic field lines that enter a closed surface must exit it (Gauss's law for magnetism: abla cdot ec{B} = 0).

Examples

B (T)A (m²)θΦ (Wb)
111.0000
1190°0.0000
20.560°0.5000
0.1245°0.1414

Your Task

Implement magnetic_flux(B, A, theta_deg) returning PhiPhi in webers.

Pyodide loading...
Loading...
Click "Run" to execute your code.