>Hi!
>
>>I need more details about the problem. For example, what is the size of the square, what is the size of each rectangle?
>
>There is no size defined, it could change for both.
>This solution is for a printer house, they want to find the most efficient
>way to print their posters, flyers, books, etc.
>
>Regards
It seems to me that this requires some experimentation. I don't think Calculus will help in solving it.
I don't know the solution; perhaps a search on algorithms can help.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)