Triangle ABC has vertices A=(0, 1), B=(1, 0) and C=(0, 0) in the coordinate plane.
The insides of the sides are lined with mirrors, and then a laser beam is fired from the origin with a slope of 314/379
Which corner of the triangle will the laser beam hit first?
The key is the numerator and denominator of the slope.
It is easy to generalize the solution for various p/q.
|
Posted by Jer
on 2019-02-20 15:29:21 |