9.1b Fourier series labs
Source: Lab ideas from Computational Physics (Landau, Páez, Bordeianu), §9.1. Original drills. Continues 9.1.
Pure Python. No NumPy / VPython. Use math only.
Formula refresh
Warm up: pick the matching equation among lookalikes (same walk as the theory lesson).
Labs
Activity: First sine coefficient
For the odd sawtooth with , print with 10 decimals.
No input.
Write-ups
Using “gibbs”, “overshoot”, and “jump”, explain:
What visual artifact do you expect near a jump when you truncate a Fourier series at finite N?
Minimum 3 words. Your answer must include: “gibbs”, “overshoot”, “jump”.
0 words
Meet the writing requirements, then you can open the model answer.
Explorers
Tune and watch the sawtooth partial sum vs the true ramp:
Next: 9.2 Fourier transforms.