Script 6: Simple Harmonic Motion