A Pendulum Taken to the Moon
Q. The acceleration due to gravity on the surface of moon is 1.7 m/s²m/s². What is the time period of a simple pendulum on the surface of moon if its time period on the surface of earth is 3.5 ss, where g is 9.8 m/s²m/s², in seconds?
Inputs
Outputs
moon period?
How it's solved
Solved with SimplePendulum
Given
- m/s²
- m/s²
- s
- from “a simple pendulum”
Find .
Working
- period of a simple pendulum(pendulum)
- m
- a simple pendulum
- m
- period of a simple pendulum(lunar pendulum)
- sto 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.
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"12end1require_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."20endplayground.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"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| pi | — | 0 … ∞ | SimplePendulum | |
| surface gravity | m/s² | — | SimplePendulum | |
| length of the string | m | — | SimplePendulum | |
| period | s | — | SimplePendulum | |
| period of pendulum | s | — | ||
| length of the string of pendulum | m | — | ||
| surface gravity of earth | m/s² | — | ||
| period of lunar pendulum | s | — | ||
| length of the string of lunar pendulum | m | — | ||
| surface gravity of moon | m/s² | — | ||
| length of the string of earth | m | — | ||
| period of earth | s | — | ||
| length of the string of moon | m | — | ||
| period of moon | s | — | ||
| surface gravity of pendulum | m/s² | — | ||
| surface gravity of lunar pendulum | m/s² | — |