Find the maximum amplitude so the block doesn't slip!