35. [25] Find $\max \{$ Perimeter $(T)\}$ for $T$ a triangle contained in a regular septagon (7-sided figure) of unit edge length. Write your answer $N$ to 2 places after the decimal. If the correct answer rounded to 2 decimal places is $A$, you will receive 0 points if $N<A$ and $\lfloor\max \{0,25-50 \cdot(N-A)\}\rfloor$ points otherwise.
Answer: 5.85086 Let the septagon be $A_{0} A_{1} \ldots A_{6}$.
If $x$ is a point that can move along the $\mathrm{x}$-axis, the distance from $x$ to a fixed point $p$ is a convex function in the $\mathrm{x}$-coordinate. Therefore, the sum of the distances from $x$ to two other points is convex too, so if $x$ is constrained to lie on a closed line segment, its maximum value is attained at an endpoint. Therefore, the triangle of maximal perimeter has vertices at the vertices of the pentagon. The triangle with the largest such perimeter has almost evenly spaced vertices, so triangle $A_{0} A_{2} A_{4}$ has the maximal perimeter. It has area $5.85 \ldots$.