# Ray in a Square

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

A ray enters a square at point , reflects off the top and bottom of the square, and leaves at point with integer coordinates. What is the ratio , where is the length of the side of the square?

Contributed by: Izidor Hafner (September 2012)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

Reference

[1] A. F. Dunn, *Second Book of Mathematical Bafflers*, New York: Dover Publications, 1983, p. 50.

## Permanent Citation

"Ray in a Square"

http://demonstrations.wolfram.com/RayInASquare/

Wolfram Demonstrations Project

Published: September 28 2012