FRW universe models
How the scale factor evolves for different matter and energy contents, and why the age of the universe needs a numerical integral.
In a homogeneous and isotropic universe the evolution of the scale factor is governed by the Friedmann equation. With the present-day density parameters of radiation, matter, curvature and the cosmological constant it reads
and the age of the universe follows from integrating from the Big Bang to today:
For a general mix of components the age integral cannot be evaluated analytically, so one has to use numerical methods. The video below walks through the resulting universe models.