Lesson 10 of 15
Magnetic Flux
Magnetic Flux
Magnetic flux quantifies how much of a magnetic field passes through a surface:
- — magnetic flux (weber, Wb = V·s)
- B — magnetic field strength (T)
- A — area of the surface (m²)
- — angle between B and the surface normal
The Cosine Factor
| Flux | ||
|---|---|---|
| 0° | 1 | maximum — field perpendicular to surface |
| 45° | intermediate | |
| 90° | 0 | zero — 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) |
|---|---|---|---|
| 1 | 1 | 0° | 1.0000 |
| 1 | 1 | 90° | 0.0000 |
| 2 | 0.5 | 60° | 0.5000 |
| 0.1 | 2 | 45° | 0.1414 |
Your Task
Implement magnetic_flux(B, A, theta_deg) returning in webers.
Pyodide loading...
Loading...
Click "Run" to execute your code.