Lesson 10 of 15
Escape Velocity and Black Holes
Escape Velocity and Black Holes
The escape velocity is the minimum speed an object needs to escape a gravitational field entirely — travelling to infinity with zero remaining kinetic energy.
Escape Velocity Formula
Setting kinetic energy equal to gravitational potential energy:
| Object | |
|---|---|
| Earth | 11.2 km/s (0.004% of ) |
| Sun | 618 km/s (0.2% of ) |
| Neutron star (, km) | ≈ 0.64 |
| Black hole at | exactly |
The Schwarzschild Radius
A black hole forms when an object is compressed below its Schwarzschild radius, where even light cannot escape:
For the Sun, m — about 3 km. For Earth, mm.
Surface Gravity
The gravitational acceleration at a body's surface:
Earth's surface gravity is m/s².
Your Task
Implement three functions. Use m³ kg⁻¹ s⁻² and m/s, defined inside each function.
escape_velocity_m_s(M_kg, R_m)— escape velocity in m/sschwarzschild_radius_m(M_kg)— Schwarzschild radius in metressurface_gravity_m_s2(M_kg, R_m)— surface gravitational acceleration in m/s²
Python runtime loading...
Loading...
Click "Run" to execute your code.