Spreadsheet example

Given 30 cm. of string.

Allocate it as you please between the circumference of a circle and the perimeter of a square (e.g., 0 to the circle and 30 to the square, 10/20, 15/15, 20/10, 30/0).

How does the total area enclosed by the circle and the square vary as you change the allocation of string between them?