結果 : simple harmonic motion function