Hello all. After completing a problem in which we derived the formulas for potential and spring force energy as functions of time, with simple harmonic motion I noticed the equations are EXACTLY the same, but with sine and cosine switched. The equations were: A sin^2(pi * t) A cos^2(pi * t) I apologize for this awful format, I want to learn the math script used on this website, but I forgot the name (would be appreciated also). Anyways here is a graph of the aforementioned functions. My question: Is there a way to represent this back and forth behavior with a linear function or any other way?