Nuclear Timescale & Stellar Lifetimes
Nuclear Timescale & Stellar Lifetimes
Stars shine by nuclear fusion — converting hydrogen to helium in their cores. The energy released per unit mass is determined by Einstein's : hydrogen fusion converts 0.7% of the rest-mass energy into radiation.
Nuclear Timescale
The total nuclear burning lifetime is:
where:
- is the hydrogen fusion efficiency (0.7% of rest mass)
- is the stellar mass in kg
- m/s
- is the luminosity in watts
For the Sun: Gyr for complete H→He conversion, or ~10 Gyr for core hydrogen (roughly 10% of the total mass fuses before the star leaves the main sequence).
Mass-Luminosity Relation
On the main sequence, luminosity scales steeply with mass:
Combining this with the nuclear timescale:
Massive stars burn out dramatically faster. A 10 star lives about 1000 times shorter than the Sun. A 0.1 red dwarf could shine for trillions of years.
| Mass () | Lifetime (Gyr) |
|---|---|
| 10 | ~0.1 |
| 1 (Sun) | ~104 |
| 0.1 | ~100,000 |
Your Task
Implement three functions. All constants must be defined inside each function.
nuclear_timescale_s(M_kg, L_W)— returns in secondsnuclear_timescale_Gyr(M_solar, L_solar)— returns in gigayearsmain_sequence_lifetime_Gyr(M_solar)— uses to return lifetime in Gyr
Use m/s, kg, W, 1 Gyr s.