play phryzby with physics

An Oscillator's Amplitude from Its Start

solved SimpleHarmonicMotion

Q. The motion of a particle executing simple harmonic motion is described by the displacement function, x(t) = A cos (ωt + φ). The angular frequency of the particle is π s–1ω=0.5rev/s. If the initial (t = 0)Δt=0s position of the particle is 1 cmx1=1cm and its initial velocity is ω cm/sv1=0.5rev cm/s, what is its amplitude, in cm?

−AO+AtxA = ?x = 0.01 mv = 0.0314 m/sTt = 0 st = 0 sω = 3.14 rad/s
Inputs
x1
1 cm
Outputs
amplitudeA?

How it's solved

Solved with SimpleHarmonicMotion

Given

  • x1=1cm
  • Δt=0s from “initial (t = 0)”
  • ω=0.5rev/s from “π s–1”
  • v1=0.5rev cm/s from “ω cm/s”

Find A.

Working
  1. x1=1cm=0.01m
  2. ω=0.5rev/s=3.14159265rad/s
  3. v1=0.5rev cm/s=0.0314159265m/s
  4. amplitude from where and how fast(particle, oscillating)A2=x12+(v1ω)2
  5. A2=0.012+(0.03141592653.14159265)2
  6. A=1.414cm
  7. A=0.0141421356m=1.41421356cm
  8. A≈1.41cmto 3 significant figures
Conclusion

At the start the position and the velocity over the angular frequency are the two sides of a right angle, and the amplitude is its hypotenuse.

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 :an_oscillator_s_amplitude_from_its_start do4  kind :numerical5  describes "The motion of a particle executing simple harmonic motion is described by the displacement function, " \6            "x(t) = A cos (ωt + φ). The angular frequency of the particle is π s–1. If the initial (t = 0) position " \7            "of the particle is %{position} and its initial velocity is ω cm/s, %{amplitude}, in cm?"8  given position: "1 cm"9  asks amplitude: "what is its amplitude"10end
solution.rb
1require_relative "../questions/an_oscillator_s_amplitude_from_its_start"2require_relative "../science/oscillations/simple_harmonic_motion"34solve :an_oscillator_s_amplitude_from_its_start, using: SimpleHarmonicMotion do5  objects :particle6  axes :x7  particle.goes(:oscillating)89  take position: particle.final_position1011  deduce_from "initial (t = 0)", oscillating.time_taken => "0 s"12  deduce_from "π s–1", particle.angular_frequency => "0.5 rev/s"13  deduce_from "ω cm/s", particle.final_velocity => "0.5 rev cm/s"1415  amplitude = particle.amplitude16  answer amplitude:, in: "cm", figures: 31718  conclusion "At the start the position and the velocity over the angular frequency are the two sides of a " \19             "right angle, and the amplitude is its hypotenuse."20end
playground.rb
1require_relative "../solutions/an_oscillator_s_amplitude_from_its_start"23play_with :an_oscillator_s_amplitude_from_its_start do4  title "An Oscillator's Amplitude from Its Start"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
displacement of particle during oscillating along xΔxm—
position of particle at end of oscillating along xx1m—
position of particle at start of oscillating along xx0m—
average velocity of particle during oscillating along xvavm/s—
time taken of oscillatingΔts0 … 1e+05
average speed of particle during oscillatingcavm/s—
path length of particle during oscillatingdm—
change of velocity of particle during oscillating along xΔvm/s—
velocity of particle at end of oscillating from ground along xv1m/s—
velocity of particle at start of oscillating from ground along xv0m/s—
average acceleration of particle during oscillating along xaavm/s²—
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 … ∞
frequency of particleνHz0 … ∞
maximum speed of groundvmax,gm/s—
maximum speed of particlevmaxm/s—
maximum acceleration of groundamax,gm/s²—
maximum acceleration of particleamaxm/s²—
position of particle at end of oscillating|x1|m—
phase constant of particleφ——
velocity of particle at end of oscillating from ground|v1|m/s—
acceleration of particle at end of oscillating|a1|m/s²—
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
Δx=x1-x0
change of position(oscillating, x)
vav=ΔxΔt
displacement a time(oscillating, x)
cav=dΔt
path a time(oscillating, x)
Δv=v1-v0
velocity gained(oscillating, x)
aav=ΔvΔt
velocity gained a time(oscillating, x)
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, oscillating)
|v1|=−A⋅ω⋅sin⁡(ω⋅Δt+φ)
velocity in shm(particle, oscillating)
|a1|=−ω2⋅|x1|
acceleration in shm(particle, oscillating)
A2=x12+(v1ω)2
amplitude from where and how fast(particle, oscillating)