Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making sure a shape-sorter works

Status
Not open for further replies.

lionelhill

Technical User
Dec 14, 2002
1,520
GB
I hardly dare put this one in, because it's so simple, but it's sort of cute, too:

Everyone knows a small child's shape-sorter. It's a box with holes in the side of different shapes, circles, squares, crosses, pentagons, banana-shapes, whatever. It comes with a set of shapes that the baby can post through each hole.

Obviously it's no fun if the shapes can be squeezed through the wrong holes. The square mustn't be so small that it can go through the circle's hole, nor should it be so big that the circle can go through its hole.

How can we choose sizes of arbitrary shapes so that they can never pass through the hole of any other shape?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top