Energy Transformation In Simple Machines