A block is resting on a piston that executes simple harmonic motion in a vertical plane with a period of 2 seconds. What is the equation that represents the displacement of the block as a function of time?