Sum and product in a polygon

Study what happens when the number of the sides of a polygon changes. What happens with the sum or product of the segments.