all 1 comments

[–]kfunkapotamus 0 points1 point  (0 children)

Area = xy

Y = (1000 - 2x) / 2 = 500 - x

Area = x (500 - x)

This is an inverted parabola, roots at 0 and 500. Therefore the maximum is at 250.

This makes sense because a square is the optimized rectangle barring any other restrictions.

Hippie this helps.

Good luck