Finding the peak positions

Try to play with this:

and that:

1 Like