Draw a square with width N. Cut of a rectangular stripe of width c at the right. Turn the stripe inside the remaining rectangle, so that all corners will be positioned on the resulting outer rectangle. How long has the width of the cut to be, to make the stripe fit?

(Note: An turning angle of n*90�, n being an integer, is not allowed.)

Schematical image - the outer rectangle shall be a square.

Why isn't this shown in monospace-font? Copy it to a monospaced-font editor to view it right

Well - it's more a geometrical/ mathematical diversion, but I needed assistance from Java to find a nearly solution iterating, and on that way I observed some details, which helped solving it mathematically.

c = N/2 works nicely (just fold the square in half).

(No, I didn't get that by geometric intuition. I derived the equation N sin a + c cos a = N - c and noticed that a = 0 gave that solution. It's time to go to bed so I'm not going to look for nontrivial solutions just now.)

Fast solution, Paul. (I needed 3 starts in 4 years to solve this f...in' problem ). Can you tell me where a is, because I used a different way to find the same solution? my way: http://home.arcor.de/hirnstrom/minis/qdk/QuadratQuiz.html

Originally posted by Paul Clapham: "a" is the angle in the small triangle at the lower left of the square, about where "b/)'y" is at the bottom of your diagram.

Or even better...

It's where the "a)" is in the top line. In fact, I assumed that's how Ajay picked the variable a for that angle.