Or perhaps your doppelgänger is now obscured by the lamppost. You start walking along the road, getting closer to the lamppost, but your doppelganger remains hidden. Feeling outmaneuvered, you suspect that your doppelganger moves precisely twice as fast as you at all times. However, unlike you, they are not constrained to a straight road, and can move more freely in two dimensions.
You walk a total of 200 feet, so that the lamppost is now 100 feet back and 100 feet left of the road. Still no sign of the speedy doppelganger, who is assuredly still obscured by the lamppost.
At this point, you contemplate chasing down the doppelganger more directly. But before doing so, you wonder: What is the farthest the doppelganger could be from the lamppost?
Let's assume that my velocity is fixed at v>0, so that my position is given by the point (vt,0) for t∈[0,200/v]. Then in order to be obscured at time t, the doppelganger's position (x(t),y(t)) must satisfy x(t)=vt+(1−vt100)y(t).
Without loss of generality, let's assume that v=1. Then the nonlinear ODE simplifies to (1+(1−t100)2)˙y2+2(1−t100)(1−y100)˙y+(1−y100)2−4=0
In theory, since we are after solution which is furthest from the lamppost, we can choose the upper branch of the square root in the quadractic formula solution of the above, that is ˙y=−(1−t/100)(1−y/100)+√4+4(1−t/100)2−(1−y/100)21+(1−t/100)2.
So, therefore, we need only integrate the upper branch ODE until we hit the boundary y(t)=300 at some ˆt>0 and then let y(t)=300 for all t∈[ˆt,200]. This leads to the doppelganger ending up at the point (−100,300) when I reach (200,0), causing him to be 300√2 away from me at that point.
No comments:
Post a Comment