Lesson 13 of 15
Dark Energy
Dark Energy
In 1998, observations of distant Type Ia supernovae revealed that the expansion of the universe is accelerating — a discovery that earned the 2011 Nobel Prize. The cause is called dark energy, making up about 68% of the total energy budget of the universe.
The Cosmological Constant
The simplest model of dark energy is Einstein's cosmological constant Λ, with equation of state:
This means dark energy has constant energy density regardless of how much the universe expands:
General Dark Energy
A more general dark energy model allows . The density evolves as:
The Critical Density
The present-day dark energy density is:
where is the Hubble constant in SI units: m).
For and km/s/Mpc: kg/m³.
Your Task
Implement three functions. All constants must be defined inside each function.
dark_energy_density_ratio(a, w)— returnsdark_energy_density_today_kg_m3(Omega_Lambda, H0_km_s_Mpc)— returns in kg/m³; use ,equation_of_state_pressure(w, rho_DE_kg_m3)— returns in Pa; use m/s
Python runtime loading...
Loading...
Click "Run" to execute your code.