The total energy in the system is the sum of kinetic energy and potential energy. Initially, the block has kinetic energy but no potential energy. At the maximum amplitude, the block has potential energy but no kinetic energy. Therefore, we can write:
\[
Show more…