結果 : simple harmonic motion position function