Energy Transformations in an Alarm Clock