Teaching mechanical oscillations using an integrated curriculum