Elastic Potential Energy
Calculate elastic potential energy of a spring.