play phryzby with physics

A Pendulum Taken to the Moon

solved SimplePendulum

Q. The acceleration due to gravity on the surface of moon is 1.7 m/s²gm=1.7m/s². What is the time period of a simple pendulumLl=Lp on the surface of moon if its time period on the surface of earth is 3.5 sTp=3.5s, where g is 9.8 m/s²ge=9.8m/s², in seconds?

LT = 3.5 spendulumLT = ?lunar pendulumg on moon = 1.7 m/s²g on earth = 9.8 m/s²
Inputs
gm
1.7 m/s²
Tp
3.50 s
ge
9.8 m/s²
Outputs
moon periodTl?

How it's solved

Solved with SimplePendulum

Given

  • gm=1.7m/s²
  • ge=9.8m/s²
  • Tp=3.5s
  • Ll=Lp from “a simple pendulum”

Find Tl.

Working
  1. period of a simple pendulum(pendulum)Tp=2⋅π⋅Lpge
  2. 3.5=2⋅3.14159265⋅Lp9.8
  3. Lp=3.04090202m
  4. a simple pendulumLl=Lp
  5. Ll=3.04090202
  6. Ll=3.04090202m
  7. period of a simple pendulum(lunar pendulum)Tl=2⋅π⋅Llgm
  8. Tl=2⋅3.14159265⋅3.040902021.7
  9. Tl=8.40 s
  10. Tl≈8.4sto 2 significant figures
Conclusion

The same string swings in weaker gravity, so the bob is pulled back more gently and each swing takes longer, by the square root of how much weaker gravity 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 :a_pendulum_taken_to_the_moon do4  kind :numerical5  describes "The acceleration due to gravity on the surface of moon is %{moon_g}. %{moon_period} of a simple " \6            "pendulum on the surface of moon if its time period on the surface of earth is %{earth_period}, where g " \7            "is %{earth_g}, in seconds?"8  given moon_g: "1.7 m/s2"9  given earth_period: "3.5 s"10  given earth_g: "9.8 m/s2"11  asks moon_period: "What is the time period"12end
solution.rb
1require_relative "../questions/a_pendulum_taken_to_the_moon"2require_relative "../science/oscillations/simple_pendulum"34solve :a_pendulum_taken_to_the_moon, using: SimplePendulum do5  objects :earth, :moon6  object :pendulum, on: earth7  object :lunar_pendulum, on: moon89  take moon_g: moon.surface_gravity10  take earth_g: earth.surface_gravity11  take earth_period: pendulum.period1213  deduce_from "a simple pendulum", lunar_pendulum.length_of_the_string => pendulum.length_of_the_string1415  moon_period = lunar_pendulum.period16  answer moon_period:, in: "s", figures: 21718  conclusion "The same string swings in weaker gravity, so the bob is pulled back more gently and each swing " \19             "takes longer, by the square root of how much weaker gravity is."20end
playground.rb
1require_relative "../solutions/a_pendulum_taken_to_the_moon"23play_with :a_pendulum_taken_to_the_moon do4  title "A Pendulum Taken to the Moon"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞SimplePendulum
surface gravitygm/s²—SimplePendulum
length of the stringLm—SimplePendulum
periodTs—SimplePendulum
period of pendulumTps—
length of the string of pendulumLpm—
surface gravity of earthgem/s²—
period of lunar pendulumTls—
length of the string of lunar pendulumLlm—
surface gravity of moongmm/s²—
length of the string of earthLem—
period of earthTes—
length of the string of moonLmm—
period of moonTms—
surface gravity of pendulumgpm/s²—
surface gravity of lunar pendulumglm/s²—
Tb=2⋅π⋅Lbgg
period of a simple pendulum
Tp=2⋅π⋅Lpge
period of a simple pendulum(pendulum)
Tl=2⋅π⋅Llgm
period of a simple pendulum(lunar pendulum)
Ll=Lp
a simple pendulum