Forced and damped harmonic oscillator experiment using an accelerometer