a person throws a ball up into the air. at which point in its path will the ball have te greatest potential energy

The ball will have the greatest potential energy at the highest point in its path, which is when it reaches the maximum height before starting to descend back towards the ground.