Solving Simple Harmonic Motion for All Time

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
jam12
Messages
37
Reaction score
0

Homework Statement



I have that a oscillating mass undergoes shm. It is accelerated (forced oscillation) by 1ms^-2, for time pi/2 as it goes through the origin and then accelerated by -1ms^-2 for another time pi/2, then it is at the origin after the second acceleration.

I need to determine an expression for the acceleration for all time.

Homework Equations



None

The Attempt at a Solution



i can only think of something along the lines: f(t)= 1 0<t<pi/2
= -1 pi/2<t<pi
= 0 t>pi
but this is wrong as it only considers the acceleration for time 0 to pi. I need it for all time, since the mass will start accelerating (forced) when it travels past the origin to the other direction and continues to oscillate back and forth.
 
on Phys.org
Look up Fourier series and something called the step function.
 
thanks, I've tried but its no use since i need a function that turns on and of and on etc an infinite number of times
 
Looking at the squarewave function expression I see my function will be a sum of heaviside step functions? and i can change the period according to what i need.
Many thanks