# cut a certain stripe of a square

posted 10 years ago

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.

A link to the solution will follow soon.

I hope it's new to the most of you.

Well here is a graphical representation of the quiz.

At the bottom of the page is a link to the solution.

http://home.arcor.de/hirnstrom/minis/qdk/QuadratQuizQuiz.html

[ April 24, 2006: Message edited by: Stefan Wagner ]

[ April 24, 2006: Message edited by: Stefan Wagner ]

[ April 24, 2006: Message edited by: Stefan Wagner ]

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.

A link to the solution will follow soon.

I hope it's new to the most of you.

Well here is a graphical representation of the quiz.

At the bottom of the page is a link to the solution.

http://home.arcor.de/hirnstrom/minis/qdk/QuadratQuizQuiz.html

[ April 24, 2006: Message edited by: Stefan Wagner ]

[ April 24, 2006: Message edited by: Stefan Wagner ]

[ April 24, 2006: Message edited by: Stefan Wagner ]

Ajay A Patil

Greenhorn

Posts: 22

Ajay A Patil

Greenhorn

Posts: 22

Ajay A Patil

Greenhorn

Posts: 22

posted 10 years ago

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

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

Ryan McGuire

Ranch Hand

Posts: 1078

4

posted 10 years ago

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.

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.

It is sorta covered in the JavaRanch Style Guide. |