There is a photon traveling in the -plane. At , it is positioned at and it has a velocity .
The photon is surrounded by a circular mirror of unit radius which is centered on the origin. There is no mirrored surface within the angle range , where is measured with respect to the axis.
At what time does the photon exit the region enclosed by the circular mirror (to 1 decimal place)?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First we'll add two type synnonyms to make things simpler:
Now, we define a function that calculates the new position based on the velocity and the travel time:
Now, we need to calculate when and where a photon collides on the mirror given it's current position and velocity. So, suppose this collission takes time t and we are currently at ( r x , r y ) with position ( v x , v y ) . Then the new position ( r x + t v x , r y + t v y ) satisfies ( r x + t v x ) 2 + ( r y + t v y ) 2 = 1 t > 0
Now, given the velocity vector of a photon, we would like to find the new velocity vector after it bounces. To do that, we extract the component of the velocity in the direction of the normal to the surface at that point and reverse it. And it so happens that the position vector on the unit circle is an unit vector in the opposite direction to that of the normal.
Now, we will add a function that takes the current position, velocity and time and updates it to that until the next reflection.
And now, we are ready, we update the state repeatedly until the photon escapes. When it does, we read off the time.