play phryzby with physics

First at Half the Amplitude

solved SimpleHarmonicMotion · PeriodicMotion

Q. A particle moves in simple harmonic motion with amplitude 10 cmA=10cm and period 2 sT=2s. It is released from rest at its positive extremeφ=0rad. How long after release is it first 5 cmx1=5cm from the centre, in seconds?

−AO+AtxA = 0.1 mx = 0.05 mT = 2 st = ?φ = 0 rad
Inputs
A
10 cm
T
2.00 s
x1
5 cm
Outputs
timeΔt?

How it's solved

Solved with SimpleHarmonicMotion, PeriodicMotion

Given

  • A=10cm
  • T=2s
  • x1=5cm
  • φ=0rad from “released from rest at its positive extreme”
  • Δt: the smallest of the values that fit from “after release is it first”

Find Δt.

Working
  1. A=10cm=0.1m
  2. x1=5cm=0.05m
  3. period is the time of one(particle)T=1ν
  4. 2=1ν
  5. ν=0.5Hz
  6. angular frequency is a turn each oscillation(particle)ω=2⋅π⋅ν
  7. ω=2⋅3.14159265⋅0.5
  8. ω=3.14159265rad/s
  9. displacement in shm(particle, swinging)x1=A⋅cos⁡(ω⋅Δt+φ)
  10. 0.05=0.1⋅cos⁡(3.14159265⋅Δt+0)
  11. Δt=0.333333333,1.66666667,2.33333333,3.66666667,…sthe smallest is taken
  12. Δt=0.33 s
  13. Δt≈0.333sto 3 significant figures
Conclusion

The particle passes the same point twice in every period, so many times fit; the first is a sixth of a period after release, since the cosine falls to a half at a sixth of a turn.

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 :first_at_half_the_amplitude do4  kind :numerical5  describes "A particle moves in simple harmonic motion with amplitude %{amplitude} and period %{period}. It is " \6            "released from rest at its positive extreme. %{time} %{position} from the centre, in seconds?"7  given amplitude: "10 cm"8  given period: "2 s"9  given position: "5 cm"10  asks time: "How long after release is it first"11end
solution.rb
1require_relative "../questions/first_at_half_the_amplitude"2require_relative "../science/oscillations/simple_harmonic_motion"3require_relative "../science/oscillations/periodic_motion"45solve :first_at_half_the_amplitude, using: [ SimpleHarmonicMotion, PeriodicMotion ] do6  objects :particle7  particle.goes(:swinging)89  take amplitude: particle.amplitude, period: particle.period, position: particle.final_position10  deduce_from "released from rest at its positive extreme", particle.phase_constant => "0 rad"11  deduce_from "after release is it first", swinging.time_taken => :smallest12  take time: swinging.time_taken13  answer find_value(:time, in: "s", figures: 3)1415  conclusion "The particle passes the same point twice in every period, so many times fit; the first is a sixth " \16             "of a period after release, since the cosine falls to a half at a sixth of a turn."17end
playground.rb
1require_relative "../solutions/first_at_half_the_amplitude"23play_with :first_at_half_the_amplitude do4  title "First at Half the Amplitude"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞SimpleHarmonicMotion
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
velocityvm/s—Acceleration
change of velocityΔvm/s—Acceleration
average accelerationaavm/s²—Acceleration
starting velocityv0m/s—Acceleration
final velocityvm/s—Acceleration
amplitudeAm0 … ∞SimpleHarmonicMotion
strokesm—SimpleHarmonicMotion
angular frequencyωrad/s0 … ∞SimpleHarmonicMotion
frequencyνHz0 … ∞SimpleHarmonicMotion
phase constantφ——SimpleHarmonicMotion
maximum speedvmaxm/s—SimpleHarmonicMotion
maximum accelerationamaxm/s²—SimpleHarmonicMotion
accelerationam/s²—SimpleHarmonicMotion
repetitionsN——PeriodicMotion
periodTs—PeriodicMotion
displacement of particle during swingingΔxm—
position of particle at end of swingingx1m—
position of particle at start of swingingx0m—
average velocity of particle during swingingvavm/s—
time taken of swingingΔts0 … 1e+05
average speed of particle during swingingcavm/s—
path length of particle during swingingdm—
change of velocity of particle during swingingΔvm/s—
velocity of particle at end of swinging from groundv1m/s—
velocity of particle at start of swinging from groundv0m/s—
average acceleration of particle during swingingaavm/s²—
frequency of particleνHz0 … ∞
repetitions of particle during swingingN——
stroke of groundsgm—
amplitude of groundAgm0 … ∞
stroke of particlesm—
amplitude of particleAm0 … ∞
angular frequency of groundωgrad/s0 … ∞
frequency of groundνgHz0 … ∞
angular frequency of particleωrad/s0 … ∞
maximum speed of groundvmax,gm/s—
maximum speed of particlevmaxm/s—
maximum acceleration of groundamax,gm/s²—
maximum acceleration of particleamaxm/s²—
phase constant of particleφ——
acceleration of particle at end of swinginga1m/s²—
period of groundTgs—
period of particleTs—
x0≡xi(start of motion)
starting position
x≡xi(end of motion)
final position
v0≡vi(start of motion)
starting velocity
v≡vi(end of motion)
final velocity
di(whole)=di(part 1)+di(part 2)
path in parts
Δtw=Δtp+Δtp
time in parts
sb=2⋅Ab
stroke is twice the amplitude
ωb=2⋅π⋅νb
angular frequency is a turn each oscillation
vmax,b=ωb⋅Ab
fastest through the middle
amax,b=ωb2⋅Ab
hardest pulled at the ends
Tb=1νb
period is the time of one
Δx=x1-x0
change of position(swinging)
vav=ΔxΔt
displacement a time(swinging)
cav=dΔt
path a time(swinging)
Δv=v1-v0
velocity gained(swinging)
aav=ΔvΔt
velocity gained a time(swinging)
ν=NΔt
frequency is repetitions a second(swinging)
sg=2⋅Ag
stroke is twice the amplitude(ground)
s=2⋅A
stroke is twice the amplitude(particle)
ωg=2⋅π⋅νg
angular frequency is a turn each oscillation(ground)
ω=2⋅π⋅ν
angular frequency is a turn each oscillation(particle)
vmax,g=ωg⋅Ag
fastest through the middle(ground)
vmax=ω⋅A
fastest through the middle(particle)
amax,g=ωg2⋅Ag
hardest pulled at the ends(ground)
amax=ω2⋅A
hardest pulled at the ends(particle)
x1=A⋅cos⁡(ω⋅Δt+φ)
displacement in shm(particle, swinging)
v1=−A⋅ω⋅sin⁡(ω⋅Δt+φ)
velocity in shm(particle, swinging)
a1=−ω2⋅x1
acceleration in shm(particle, swinging)
Tg=1νg
period is the time of one(ground)
T=1ν
period is the time of one(particle)