From law of cosines, each segment connecting two adjacent points on the perimeter have length

. Each of the next-longest segments has length

, and a longest segment has length

. There are seven segments of each length, so the product is

. Using the well-known fact that
Trigonometry Angles--Pi/7 -- from Wolfram MathWorld, our answer is

.