Weighing the Sun by the Earth
Q. How will you 'weigh the sun', that is estimate its mass? The mean orbital radius of the earth around the suny is 1.5 × 10⁸ kmkm. What is the mass of the sun, in kg?
Inputs
Outputs
mass?
How it's solved
Solved with EarthSatellites
Given
- km
- y from “the earth around the sun”
- from “weigh the sun”
Find .
Working
- kmm
- ys
- once round a period(year)
- rad/s
- speed round the circle(year)
- m/s
- held in orbit by gravity(year)
- kg
- weigh the sun
- kg
- kgto 2 significant figures
Conclusion
The sun's pull keeps the earth going round once a year, so Kepler's law of periods for the earth's orbit holds the sun's 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_sun_by_the_earth do4 kind :numerical5 describes "How will you 'weigh the sun', that is estimate its mass? The mean orbital radius of the earth around " \6 "the sun is %{radius}. %{mass}, in kg?"7 given radius: "1.5e8 km"8 asks mass: "What is the mass of the sun"9end1require_relative "../questions/weighing_the_sun_by_the_earth"2require_relative "../science/gravitation/earth_satellites"34solve :weighing_the_sun_by_the_earth, using: EarthSatellites do5 objects :earth, :sun6 paths :orbit7 earth.goes(:year, on: orbit)89 take radius: orbit.radius1011 deduce_from "the earth around the sun", year.period => "1 y"12 deduce_from "weigh the sun", sun.mass => orbit.central_mass1314 mass = sun.mass15 answer mass:, in: "kg", figures: 21617 conclusion "The sun's pull keeps the earth going round once a year, so Kepler's law of periods for the " \18 "earth's orbit holds the sun's mass."19endplayground.rb
1require_relative "../solutions/weighing_the_sun_by_the_earth"23play_with :weighing_the_sun_by_the_earth do4 title "Weighing the Sun by the Earth"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| pi | — | 0 … ∞ | UniformCircularMotion | |
| 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 | |
| position | m | — | Velocity | |
| displacement | m | — | Velocity | |
| path length | m | — | Velocity | |
| time taken | s | 0 … 1e+05 | Velocity | |
| average velocity | m/s | — | Velocity | |
| average speed | m/s | — | Velocity | |
| starting position | m | — | Velocity | |
| final position | m | — | Velocity | |
| radius | m | 0 … ∞ | UniformCircularMotion | |
| speed | m/s | 0 … ∞ | UniformCircularMotion | |
| angular speed | rad/s | — | UniformCircularMotion | |
| revolutions | — | — | UniformCircularMotion | |
| frequency | Hz | 0 … ∞ | UniformCircularMotion | |
| centripetal acceleration | m/s² | — | UniformCircularMotion | |
| against gravity | — | — | UniformCircularMotion | |
| period | s | 0 … ∞ | UniformCircularMotion | |
| gravity | m/s² | — | UniformCircularMotion | |
| centripetal force | N | — | UniformCircularMotion | |
| central mass | kg | — | EarthSatellites | |
| central radius | m | — | EarthSatellites | |
| height of the orbit | m | — | EarthSatellites | |
| keplers constant | s²/m³ | — | EarthSatellites | |
| binding energy | J | — | EarthSatellites | |
| displacement of earth during year | m | — | ||
| position of earth at end of year | m | — | ||
| position of earth at start of year | m | — | ||
| average velocity of earth during year | m/s | — | ||
| time taken of year | s | 0 … 1e+05 | ||
| average speed of earth during year | m/s | — | ||
| path length of earth during year | m | — | ||
| speed of earth during year | m/s | 0 … ∞ | ||
| angular speed of earth during year | rad/s | — | ||
| radius of orbit | m | 0 … ∞ | ||
| period of year | s | 0 … ∞ | ||
| frequency of earth during year | Hz | 0 … ∞ | ||
| revolutions of earth during year | — | — | ||
| centripetal acceleration of earth during year | m/s² | — | ||
| against gravity of earth during year | — | — | ||
| centripetal force on earth during year | N | — | ||
| mass of earth | kg | 0 … ∞ | ||
| central mass of orbit | kg | — | ||
| keplers constant of orbit | s²/m³ | — | ||
| central radius of orbit | m | — | ||
| height of the orbit of orbit | m | — | ||
| binding energy of earth during year | J | — | ||
| 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² | — | ||
| radius of the body of earth | m | 0 … ∞ | ||
| surface gravity of sun | m/s² | — | ||
| mass of sun | kg | 0 … ∞ | ||
| radius of the body of sun | m | 0 … ∞ | ||
| gravitational intensity of ground by earth | m/s² | — | ||
| separation of ground from earth | m | 0 … ∞ | ||
| gravitational intensity of ground by sun | m/s² | — | ||
| separation of ground from sun | m | 0 … ∞ | ||
| gravitational intensity of earth by ground | m/s² | — | ||
| separation of earth from ground | m | 0 … ∞ | ||
| gravitational intensity of earth by sun | m/s² | — | ||
| separation of earth from sun | m | 0 … ∞ | ||
| gravitational intensity of sun by ground | m/s² | — | ||
| separation of sun from ground | m | 0 … ∞ | ||
| gravitational intensity of sun by earth | m/s² | — | ||
| separation of sun from earth | m | 0 … ∞ |