A Mass on a Spring on a Table
Q. A spring having with a spring constant 1200 N/mN/m is mounted on a horizontal table. A mass of 3 kgkg is attached to the free end of the spring. The mass is then pulled sideways to a distance of 2.0 cmcm and released. Determine the frequency of oscillations, in hertz?
Inputs
Outputs
frequency?
How it's solved
Solved with SpringOscillator
Given
- N/m
- kg
- cm
Find .
Working
- cmm
- angular frequency of a mass on a spring(block)
- rad/s
- angular frequency is a turn each oscillation(block)
- Hz
- Hzto 2 significant figures
Conclusion
The spring's stiffness against the mass sets the angular frequency, and how far the mass is pulled out makes no difference to how often it swings.
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_mass_on_a_spring_on_a_table do4 kind :numerical5 describes "A spring having with a spring constant %{constant} is mounted on a horizontal table. A mass of %{mass} " \6 "is attached to the free end of the spring. The mass is then pulled sideways to a distance of " \7 "%{distance} and released. %{frequency}, in hertz?"8 given constant: "1200 N/m"9 given mass: "3 kg"10 given distance: "2.0 cm"11 asks frequency: "Determine the frequency of oscillations"12end1require_relative "../questions/a_mass_on_a_spring_on_a_table"2require_relative "../science/oscillations/spring_oscillator"34solve :a_mass_on_a_spring_on_a_table, using: SpringOscillator do5 objects :block67 take constant: block.spring_constant8 take mass: block.mass9 take distance: block.amplitude1011 frequency = block.frequency12 answer frequency:, in: "Hz", figures: 21314 conclusion "The spring's stiffness against the mass sets the angular frequency, and how far the mass is pulled " \15 "out makes no difference to how often it swings."16endplayground.rb
1require_relative "../solutions/a_mass_on_a_spring_on_a_table"23play_with :a_mass_on_a_spring_on_a_table do4 title "A Mass on a Spring on a Table"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| pi | — | 0 … ∞ | SimpleHarmonicMotion | |
| 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 | |
| velocity | m/s | — | Acceleration | |
| change of velocity | m/s | — | Acceleration | |
| average acceleration | m/s² | — | Acceleration | |
| starting velocity | m/s | — | Acceleration | |
| final velocity | m/s | — | Acceleration | |
| amplitude | m | 0 … ∞ | SimpleHarmonicMotion | |
| stroke | m | — | SimpleHarmonicMotion | |
| angular frequency | rad/s | 0 … ∞ | SimpleHarmonicMotion | |
| frequency | Hz | 0 … ∞ | SimpleHarmonicMotion | |
| phase constant | — | — | SimpleHarmonicMotion | |
| maximum speed | m/s | — | SimpleHarmonicMotion | |
| maximum acceleration | m/s² | — | SimpleHarmonicMotion | |
| acceleration | m/s² | — | SimpleHarmonicMotion | |
| mass | kg | 0 … ∞ | SpringOscillator | |
| spring constant | N/m | — | SpringOscillator | |
| kinetic energy | J | — | SpringOscillator | |
| potential energy | J | — | SpringOscillator | |
| total energy | J | — | SpringOscillator | |
| stroke of ground | m | — | ||
| amplitude of ground | m | 0 … ∞ | ||
| stroke of block | m | — | ||
| amplitude of block | m | 0 … ∞ | ||
| angular frequency of ground | rad/s | 0 … ∞ | ||
| frequency of ground | Hz | 0 … ∞ | ||
| angular frequency of block | rad/s | 0 … ∞ | ||
| frequency of block | Hz | 0 … ∞ | ||
| maximum speed of ground | m/s | — | ||
| maximum speed of block | m/s | — | ||
| maximum acceleration of ground | m/s² | — | ||
| maximum acceleration of block | m/s² | — | ||
| spring constant of ground | N/m | — | ||
| mass of ground | kg | 0 … ∞ | ||
| spring constant of block | N/m | — | ||
| mass of block | kg | 0 … ∞ | ||
| total energy of ground | J | — | ||
| total energy of block | J | — | ||
| phase constant of block | — | — |