describe the energy changes that takes place when a baseball bat is swung