Weighing the Earth by Its Pull
Q. Weighing the Earth: you are given g = 9.81 m/s²m/s² at the Earth's surface and the Earth's radius 6.37 × 10⁶ mm. What is the mass of the Earth, in kg?
Inputs
Outputs
mass?
How it's solved
Solved with UniversalGravitation
Given
- m/s²
- m
Find .
Working
- gravity at the surface(earth)
- kg
- kgto 3 significant figures
Conclusion
How hard the Earth pulls at its surface depends only on its mass and how far the surface is from its centre, so the pull and the radius give the mass.
The web of concepts
given read from the words equation asked
The Ruby that solves it
The question and its solution are small Ruby files. The engine runs them.
1require_relative "../physics"23question :weighing_the_earth_by_its_pull do4 kind :numerical5 describes "Weighing the Earth: you are given g = %{gravity} at the Earth's surface and the Earth's radius " \6 "%{radius}. %{mass}, in kg?"7 given gravity: "9.81 m/s2"8 given radius: "6.37e6 m"9 asks mass: "What is the mass of the Earth"10end1require_relative "../questions/weighing_the_earth_by_its_pull"2require_relative "../science/gravitation/universal_gravitation"34solve :weighing_the_earth_by_its_pull, using: UniversalGravitation do5 objects :earth67 take gravity: earth.surface_gravity8 take radius: earth.radius_of_the_body910 mass = earth.mass11 answer mass:, in: "kg", figures: 31213 conclusion "How hard the Earth pulls at its surface depends only on its mass and how far the surface " \14 "is from its centre, so the pull and the radius give the mass."15endplayground.rb
1require_relative "../solutions/weighing_the_earth_by_its_pull"23play_with :weighing_the_earth_by_its_pull do4 title "Weighing the Earth by Its Pull"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| gravitational constant | N m² kg⁻² | — | UniversalGravitation | |
| mass | kg | 0 … ∞ | UniversalGravitation | |
| radius of the body | m | 0 … ∞ | UniversalGravitation | |
| surface gravity | m/s² | — | UniversalGravitation | |
| separation | m | 0 … ∞ | UniversalGravitation | |
| gravitational intensity | m/s² | — | UniversalGravitation | |
| surface gravity of ground | m/s² | — | ||
| mass of ground | kg | 0 … ∞ | ||
| radius of the body of ground | m | 0 … ∞ | ||
| surface gravity of earth | m/s² | — | ||
| mass of earth | kg | 0 … ∞ | ||
| radius of the body of earth | m | 0 … ∞ | ||
| gravitational intensity of ground by earth | m/s² | — | ||
| separation of ground from earth | m | 0 … ∞ | ||
| gravitational intensity of earth by ground | m/s² | — | ||
| separation of earth from ground | m | 0 … ∞ |