Reference for potential energy is the initial height of the block.
Initial Conditions: all the energy is KE because the height is 0, so PE is 0Friction works against motion:
![]()
Energy is also converted to potential energy:
We need to find d where frictional energy lost and the Potential Energy gained equal the initial kinetic energy.