I thought up an other math problem, and hope you all will find it interesting.
Given is a rectangle ABCD. The points P on the line AB, Q on BC, R on CD and S on AD are inner points of the rectangle sides.
Inner points of a line are all points of this line except the end points.
Now it shall be determined for which positions of the points P, Q, R and S, the rectangle PQRS has the smallest circumference.
Thanks for all good answers

Maximal surface gives a minimal perimeter, I think. So, S, P, Q, R should be placed in the middle of the rectangular sides.