Having studied the topic recently I found out that simple harmonic motion can represented well with sine and cosine functions.Take for example a pendulum swing which could look like :
and the equations governing the motion would be
So I've been wondering why can't simple harmonic motion be represented in form of triangular waves.Although the equations above involve angular momentum so I may be contradicting myself but fundamentally the velocity time is sine function :
and the gradient represents the acceleration is non-uniformly increasing and decreasing.
What if instead of that you use
Which would represent a triangular wave whose gradient would depict that the acceleration is uniformly accelerating and decelerating.So would this represent harmonic motion or is it fundamentally incorrect.