Phase 04 · 15 lessons

Physics Foundations

Calculus-based introductory physics at the level of a two-semester university sequence, taught through aerospace problems and organised around one idea: conservation and modelling. Every lesson states the conservation law or field equation that governs its system, builds the simplest model that answers an engineering question, says what that model assumes and where it fails, and checks it against data: a home experiment, a public dataset, or an independent numerical solution. Every simulation must also reproduce a closed-form result in a limit: free fall without drag, the vis-viva relation, the small-angle pendulum period, the RC time constant, the Biot–Savart field on the axis of a loop, the inverse-square intensity, the 38 μs/day net GPS clock offset, and the half-life law. By the end you can set up and solve Newtonian mechanics problems (particles, rigid bodies, orbits, oscillators, waves), explain pressure and temperature from kinetic theory, analyse DC and AC circuits and simple electronics, model magnetic fields and induction, compute electromagnetic wave power, antenna patterns and link losses, size a camera or star-tracker optic, compute the relativistic clock corrections that GNSS needs, estimate radiation dose and shielding, and build, measure and debug a low-voltage circuit on a breadboard with a multimeter and a microcontroller. You get a tested Python module for each of these. The mathematics is not new: Phases 01–03 supplied it. The physics is new, so every result is derived from first principles before it is computed.

Lessons

  1. P04.01physical experiment Kinematics & Newton's Laws 🔬 Build it: Projectile with drag
  2. P04.02computational Work, Energy & Power Build it: Energy-height of an aircraft
  3. P04.03computational Momentum & Collisions Build it: Variable-mass system intuition
  4. P04.04computational Rotation & Angular Momentum Build it: Spinning top simulation
  5. P04.05computational Gravitation & Kepler's Laws Build it: Two-body simulation
  6. P04.06physical experiment Oscillations & Waves 🔬 Build it: Wave propagation visualizer
  7. P04.07computational Kinetic Theory of Gases Build it: Molecular speed distributions
  8. P04.08computational Electrostatics & Circuits Build it: DC circuit solver
  9. P04.09computational Magnetism & Induction Build it: Magnetorquer field model
  10. P04.10computational AC Circuits & Electronics Basics Build it: RC filter design
  11. P04.11computational Electromagnetic Waves & Antennas Build it: Dipole radiation pattern
  12. P04.12computational Optics & Sensors Build it: Star tracker optics budget
  13. P04.13computational Special Relativity for GPS Build it: Clock corrections in GNSS
  14. P04.14computational Atomic & Radiation Physics Build it: Radiation dose basics
  15. P04.15physical experiment Electronics Bench Lab 🔬 Build it: Breadboard, multimeter, microcontroller: measure voltage, current and a sensor

Three lessons have a physical experiment (marked 🔬), and two more have an optional measurement with the electronics kit. Every physical activity is optional in one sense: a learner without the kit completes the lesson with the synthetic or public data supplied. Every synthetic dataset is labelled synthetic wherever it appears, and a simulation is never presented as a measurement. Every other lesson's part 4 is a computational experiment, such as a parameter sweep, a sensitivity study, or a comparison with an independent solution or a public dataset.

Lesson ids are P04.01 to P04.15. Each lesson's metadata table gives its exact prerequisites, and every lesson's Time row reads unmeasured until pilots measure it. No time estimate is given here for the same reason.

Prerequisites

Phases 00–03, in particular: P00.13 (safety for home experiments) and P00.14 (measurement, calibration and uncertainty) for every experiment; P00.15 (the first predict-measure-compare experiment), whose method lessons 01, 06 and 15 repeat at a higher level; P01.07 (vectors) for forces, fields and orbits; P01.13 (linear systems) for the circuit solver; P02.02 (second-order ODEs) and P02.04 (systems of ODEs) for oscillators and orbits; P02.07 (phasors) for AC circuits; P02.16 (distributions) for molecular speeds and radioactive decay; P03.05 (RK4) and P03.07 (symplectic integrators) for every simulation. Simulations call scipy.integrate.solve_ivp, and lesson 05 also writes a short leapfrog integrator by hand because there the point is conservation. Skill checks before starting: you can solve a 3 × 3 linear system by hand, write the general solution of a damped oscillator, convert between a complex phasor and an amplitude and phase, and propagate an uncertainty through a product of powers.

The three project kits

Each kit lives in projects/p04-/ with a bom.yaml (three cost tiers with dated price ranges and reuse of earlier kits), safety.md (the full safety box), procedure.md, report-template.md and data/README.md (the raw-data format). Read safety.md before buying anything and again before every session. The kit's safety.md is authoritative. The limits below summarise the hard rules that every version of these kits must keep, and nothing in a kit may relax them. In every kit the prediction, with its uncertainty, is written down and dated before the first measurement, raw data are never edited, and the report states which numbers were measured, which were computed, and which are synthetic.

Nothing in this phase involves combustion, pressure vessels, projectiles launched by stored energy, flight, lasers above class 1, radioactive sources or mains voltage. Lesson 14 computes dose and shielding from tabulated data only; there are no sources and no detectors at home. A report without a completed safety box is not graded.

Running the code

From the repo root, pytest curriculum/phase-04/lesson-NN- tests your starter/main.py. AEFS_IMPL=solution pytest curriculum/phase-04/lesson-NN- runs the same tests against the reference solution in solutions/phase-04/lesson-NN-/solution.py. Tests check properties rather than single numbers:

Anything random is seeded. Tests need no network and write files only to a temporary directory. python scripts/check_lessons.py checks every lesson's structure.

The exam and the mini-project

Phase exam and mini-project: assessments/phase-04/. The exam has four parts. Part A covers concepts. Part B covers analysis by hand over every lesson. Part C is computation: a tested pendulum-period function checked against the elliptic integral. Part D is engineering interpretation. Part D's first question asks you to interpret your own p04-pendulum or p04-drag-drop measurement; a synthetic dataset is supplied for learners without a kit. Its second question interprets a synthetic bench-lab table and tests the electronics kit's safety limits. The exam has not been piloted, so no time limit is suggested. Choose one in advance and record it. Results are reported per competency: (1) reasoning, (2) analysis, (3) computation, (4) interpretation. The worked solutions and pass thresholds are in solutions/phase-04/exam/. The mini-project is the pendulum report from lesson 06, graded with the rubric. The drag-drop report or the bench-lab report may be substituted on the same terms. Seeded unseen cases for the computational lessons are planned in parameterized-cases/. Outcomes are recorded as practice completed, self-assessed mastery or externally reviewed mastery. None of these is a credential.

References: references/phase-04.md. Every required reading is free. The OpenStax University Physics volumes (@openstax-university-physics-vol1, @openstax-university-physics-vol2, @openstax-university-physics-vol3) carry most of the phase. The lessons on electronics, antennas, sensors, GPS, radiation effects and the bench lab add the sources named in the reference map. The curriculum links to every source and writes its own explanations.

This page on GitHub