Let be the vertices of a regular octagon that lie on a circle of radius 2. Let P be a point on the circle and let denote the distance between the points P and for . If P varies over the circle, then the maximum value of the product is [2023]
(512)

(say)
Similarly