Electromagnetism
Difficulty: Level 3 (from-scratch derivations, code-from-memory, explain-out-loud) Time limit: 45 minutes Total marks: 60
Constants (use where needed): , .
Q1. (10 marks) — Field of a uniformly charged disk (from scratch). Starting from the field of a charged ring, derive from first principles the on-axis electric field of a uniformly charged disk of radius , surface charge density , at axial distance from its centre. (a) Set up the ring contribution and integrate to obtain . (6) (b) Take the limit and show you recover the infinite-plane result. (2) (c) Explain out loud (in words) why the near-field of any large flat charged sheet is uniform, referencing your result. (2)
Q2. (12 marks) — Gauss's law applications & potential. A solid non-conducting sphere of radius carries total charge uniformly distributed through its volume. (a) Using Gauss's law, derive for and . (5) (b) Derive the potential for , taking , and give at the centre. (5) (c) State why is continuous at here, unlike at a conducting surface. (2)
Q3. (10 marks) — RC discharge, code from memory. A capacitor initially charged to discharges through resistor . (a) From Kirchhoff's voltage law, derive the differential equation and solve for and . (5) (b) Show the energy dissipated in over all time equals the initial stored energy . (3) (c) Write a short pseudocode / Python-from-memory snippet that numerically integrates the discharge (Euler step) and reports at . (2)
Q4. (10 marks) — Solenoid field & inductance (Ampère + Faraday). (a) Using Ampère's circuital law with a labelled rectangular loop, derive inside a long solenoid with turns per unit length carrying current . (4) (b) Derive the self-inductance of a solenoid of length , cross-sectional area , total turns . (3) (c) The current is now . Find the induced EMF and explain the sign using Lenz's law. (3)
Q5. (10 marks) — Displacement current & speed of light. (a) State Ampère's law with Maxwell's correction (integral form) and explain, out loud, why the displacement current term is required for a charging capacitor. (4) (b) For a parallel-plate capacitor being charged with conduction current , show the displacement current between the plates equals . (3) (c) Starting from , compute numerically and comment on its significance in Maxwell's theory. (3)
Q6. (8 marks) — Poynting vector. A long cylindrical resistor of radius , length , carries steady current with voltage across it. (a) Find and at the surface of the resistor. (4) (b) Compute the Poynting vector magnitude and direction at the surface, integrate over the surface, and show the inflow equals . (4)
Answer keyMark scheme & solutions
Q1 — Charged disk
(a) Ring of radius , width : charge . On-axis field of a ring (axial component only, by symmetry): (2 for ring set-up) Integrate : (2 for integral) (2 result)
(b) As , , so — the infinite plane field. (2)
(c) Close to a large sheet () the second term is negligible, giving a constant independent of : contributions from the far edges nearly cancel in the transverse direction and the geometry looks effectively infinite, so the field is uniform. (2)
Q2 — Uniform sphere
(a) Charge density . Inside (): enclosed ; Gauss : (3) Outside (): : (2)
(b) . Outside integral from to gives . (2) For : : (2) Centre: . (1)
(c) The charge is spread through a volume (no surface sheet), so there is no surface charge density to produce a discontinuity; . A conductor concentrates charge on the surface giving a jump . (2)
Q3 — RC discharge
(a) KVL: with (discharge). So : (5) (2 DE setup, 1 sign, 2 solutions)
(b) . (3)
(c) (2)
R,C,V0=1e3,1e-6,5.0
tau=R*C; dt=tau/1000; V=V0; t=0
while t<tau:
V += -V/(R*C)*dt # dV/dt = -V/RC
t += dt
print(V) # ~ V0*e^-1 ≈ 1.84Q4 — Solenoid
(a) Amperian rectangle: one side length inside (field , parallel), opposite side outside (), short sides perpendicular (no contribution). . Enclosed current . Ampère: : (4)
(b) Flux per turn . Linkage with : (3)
(c) Sign: while current rises, induced EMF opposes the increase (opposes change in flux) per Lenz's law; the minus sign encodes this opposition. (3)
Q5 — Displacement current
(a) For a charging capacitor, no conduction current flows between the plates; a surface bounded by the same loop passing between plates carries . Without the displacement term Ampère's law would be inconsistent (ambiguous depending on chosen surface). The changing flux supplies the missing term. (4)
(b) Between plates , so . (3)
(c) m/s. Matching the measured speed of light showed light is an EM wave. (3)
Q6 — Poynting vector
(a) (along axis, driving current). At surface, Ampère: (azimuthal). (4)
(b) , directed radially inward ( points into the resistor). Surface area : Energy flows in and equals dissipation . (4)
[
{"claim":"Disk field reduces to sigma/2eps0 as R->inf","code":"z,R,s,eps=symbols('z R s eps',positive=True); E=integrate(sigma:=1; s/(s**2+z**2)**Rational(3,2),(s,0,R)); Edisk=z*E; result=simplify(limit(Edisk,R,oo)-1)==0"},
{"claim":"Potential at centre of uniform sphere is 3Q/(8 pi eps0 R)","code":"Q,R,r,eps0=symbols('Q R r eps0',positive=True); Vc=Q/(8*pi*eps0*R)*(3-r**2/R**2); result=simplify(Vc.subs(r,0)-3*Q/(8*pi*eps0*R))==0"},
{"claim":"Energy dissipated in RC discharge equals half C V0^2","code":"t,Rr,C,V0=symbols('t R C V0',positive=True); W=integrate(V0**2/Rr*exp(-2*t/(Rr*C)),(t,0,oo)); result=simplify(W-Rational(1,2)*C*V0**2)==0"},
{"claim":"Poynting inflow equals IV","code":"V,L,I,a,mu0=symbols('V L I a mu0',positive=True); S=(V/L)*(mu0*I/(2*pi*a))/mu0; total=S*2*pi*a*L; result=simplify(total-I*V)==0"}
]