play phryzby with physics

Weighing Mars by Phobos

solved EarthSatellites

Q. The planet Mars has two moonsmm=Mo, Phobos and Deimos. Phobos has a period of 7 hours, 39 minutesT=459min and an orbital radius of 9.4 × 10³ kmro=9.4×103km. What is the mass of Mars, in kg?

Mvrr = 9.4×10⁶ mvT = 27540 sk
Inputs
ro
9400 km
Outputs
massmm?

How it's solved

Solved with EarthSatellites

Given

  • ro=9.4×103km
  • T=459min from “7 hours, 39 minutes”
  • mm=Mo from “two moons”

Find mm.

Working
  1. ro=9.4×103km=9.4×106m
  2. T=459min=27540s
  3. once round a period(round)ωp=2⋅πT
  4. ωp=2⋅3.1415926527540
  5. ωp=2.28147615×10−4rad/s
  6. speed round the circle(round)vp=ωp⋅ro
  7. vp=2.28147615×10−4⋅9.4×106
  8. vp=2144.58758m/s
  9. held in orbit by gravity(round)vp2=G⋅Moro
  10. 2144.587582=6.674×10−11⋅Mo9.4×106
  11. Mo=6.47782518×1023kg
  12. two moonsmm=Mo
  13. mm=6.47782518×1023
  14. mm=6.478×1023kg
  15. mm≈6.48×1023kgto 3 significant figures
Conclusion

Mars's pull is what keeps Phobos going round, so how fast it has to go round at that distance tells how strongly Mars pulls, and so how heavy Mars is.

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.

question.rb
1require_relative "../physics"23question :weighing_mars_by_phobos do4  kind :numerical5  describes "The planet Mars has two moons, Phobos and Deimos. Phobos has a period of 7 hours, 39 minutes and an " \6            "orbital radius of %{radius}. %{mass}, in kg?"7  given radius: "9.4e3 km"8  asks mass: "What is the mass of Mars"9end
solution.rb
1require_relative "../questions/weighing_mars_by_phobos"2require_relative "../science/gravitation/earth_satellites"34solve :weighing_mars_by_phobos, using: EarthSatellites do5  objects :phobos, :mars6  paths :orbit7  phobos.goes(:round, on: orbit)89  take radius: orbit.radius1011  deduce_from "7 hours, 39 minutes", round.period => "459 min"12  deduce_from "two moons", mars.mass => orbit.central_mass1314  mass = mars.mass15  answer mass:, in: "kg", figures: 31617  conclusion "Mars's pull is what keeps Phobos going round, so how fast it has to go round at that " \18             "distance tells how strongly Mars pulls, and so how heavy Mars is."19end
playground.rb
1require_relative "../solutions/weighing_mars_by_phobos"23play_with :weighing_mars_by_phobos do4  title "Weighing Mars by Phobos"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞UniformCircularMotion
gravitational constantGN m² kg⁻²—UniversalGravitation
massmkg0 … ∞UniversalGravitation
radius of the bodyRm0 … ∞UniversalGravitation
surface gravitygsm/s²—UniversalGravitation
separationrgm0 … ∞UniversalGravitation
gravitational intensityEgm/s²—UniversalGravitation
positionxm—Velocity
displacementΔxm—Velocity
path lengthdm—Velocity
time takenΔts0 … 1e+05Velocity
average velocityvavm/s—Velocity
average speedcavm/s—Velocity
starting positionx0m—Velocity
final positionxm—Velocity
radiusrm0 … ∞UniformCircularMotion
speedvm/s0 … ∞UniformCircularMotion
angular speedωrad/s—UniformCircularMotion
revolutionsnrev——UniformCircularMotion
frequencyνHz0 … ∞UniformCircularMotion
centripetal accelerationacm/s²—UniformCircularMotion
against gravityq——UniformCircularMotion
periodTs0 … ∞UniformCircularMotion
gravitygm/s²—UniformCircularMotion
centripetal forceFcN—UniformCircularMotion
central massMkg—EarthSatellites
central radiusRcm—EarthSatellites
height of the orbithm—EarthSatellites
keplers constantkKs²/m³—EarthSatellites
binding energyEbJ—EarthSatellites
displacement of phobos during roundΔxpm—
position of phobos at end of roundx1,pm—
position of phobos at start of roundx0,pm—
average velocity of phobos during roundvav,pm/s—
time taken of roundΔts0 … 1e+05
average speed of phobos during roundcav,pm/s—
path length of phobos during rounddpm—
speed of phobos during roundvpm/s0 … ∞
angular speed of phobos during roundωprad/s—
radius of orbitrom0 … ∞
period of roundTs0 … ∞
frequency of phobos during roundνpHz0 … ∞
revolutions of phobos during roundnrev,p——
centripetal acceleration of phobos during roundac,pm/s²—
against gravity of phobos during roundqp——
centripetal force on phobos during roundFc,pN—
mass of phobosmpkg0 … ∞
central mass of orbitMokg—
keplers constant of orbitkK,os²/m³—
central radius of orbitRc,om—
height of the orbit of orbithom—
binding energy of phobos during roundEb,pJ—
surface gravity of groundgs,gm/s²—
mass of groundmgkg0 … ∞
radius of the body of groundRgm0 … ∞
surface gravity of phobosgs,pm/s²—
radius of the body of phobosRpm0 … ∞
surface gravity of marsgs,mm/s²—
mass of marsmmkg0 … ∞
radius of the body of marsRmm0 … ∞
gravitational intensity of ground by phobosEg,gpm/s²—
separation of ground from phobosrg,gpm0 … ∞
gravitational intensity of ground by marsEg,gmm/s²—
separation of ground from marsrg,gmm0 … ∞
gravitational intensity of phobos by groundEg,pgm/s²—
separation of phobos from groundrg,pm0 … ∞
gravitational intensity of phobos by marsEg,pmm/s²—
separation of phobos from marsrg,pmm0 … ∞
gravitational intensity of mars by groundEg,mgm/s²—
separation of mars from groundrg,mm0 … ∞
gravitational intensity of mars by phobosEg,mpm/s²—
separation of mars from phobosrg,mpm0 … ∞
x0≡xi(start of motion)
starting position
x≡xi(end of motion)
final position
gs,b=G⋅mbRb2
gravity at the surface
Eg,oo=G⋅morg,oo2
law of gravitation
di(whole)=di(part 1)+di(part 2)
path in parts
Δtw=Δtp+Δtp
time in parts
Δxp=x1,p-x0,p
change of position(round)
vav,p=ΔxpΔt
displacement a time(round)
cav,p=dpΔt
path a time(round)
vp=ωp⋅ro
speed round the circle(round)
ωp=2⋅πT
once round a period(round)
νp=1T
rounds a second(round)
νp=nrev,pΔt
rounds over the time(round)
ac,p=vp2ro
towards the centre(round)
qp=ac,pg
measured in gs(round)
Fc,p=mp⋅ac,p
mass times the turning(round)
vp2=G⋅Moro
held in orbit by gravity(round)
kK,o=4⋅π2G⋅Mo
keplers constant of an orbit(round)
T2=kK,o⋅ro3
law of periods(round)
ro=Rc,o+ho
orbit radius from the centre(round)
Eb,p=G⋅Mo⋅mp2⋅ro
binding energy of an orbit(round)
gs,g=G⋅mgRg2
gravity at the surface(ground)
gs,p=G⋅mpRp2
gravity at the surface(phobos)
gs,m=G⋅mmRm2
gravity at the surface(mars)
Eg,gp=G⋅mprg,gp2
law of gravitation(ground, phobos)
Eg,gm=G⋅mmrg,gm2
law of gravitation(ground, mars)
Eg,pg=G⋅mgrg,p2
law of gravitation(phobos, ground)
Eg,pm=G⋅mmrg,pm2
law of gravitation(phobos, mars)
Eg,mg=G⋅mgrg,m2
law of gravitation(mars, ground)
Eg,mp=G⋅mprg,mp2
law of gravitation(mars, phobos)
mm=Mo
two moons