A block whose mass is 1kg is fastened to a spring. The spring has a spring constant of 100Nm−1. The block is pulled to a distance x=10cm from its equilibrium position at x=0 on a frictionless surface from rest at t=0. The kinetic energy and potential energy of the block when it is 5cm away from the mean position is