- #1
mars187
- 2
- 0
Homework Statement
There's a person on the ground in (0,0,0). An object comes from the sky and hits the ground at (a,b,0), but continues propagating, that is, it does not stop. I need to find the minimum distance between the person and the object.
All we know is that the person is in (0,0,0), the object hits the surface on (a,b,0) and the object comes with ##\theta## and ##\phi## (see this figure).
Homework Equations
I'm using the following to try to solve this:
$$d = \dfrac{|\vec{M_0}\vec{M_1} \times \vec{s}|}{|\vec{s}|}$$
where ##M_1## is a point in the line, $M_0$ is the point (0,0,0) and #\vec{s}# is the directing vector.
The Attempt at a Solution
[/B]
So, what I did was apply the equation of ##d##, with ##M_0 = (0,0,0)##, ##M_1 = (a,b,0)## and ##\vec{s} = (a+\sin(\theta)*\cos(\phi); b + \sin (\phi) \sin (\theta); \cos (\theta))##. It comes:$$d = \sqrt{(a^2+b^2)*\cos^2 (\theta) + a^2*\sin^2(\theta)*\sin^2(\phi)+b^2*\sin^2(\theta)*\cos^2(\phi)-2ab*\sin^2(\theta)\cos(\phi)*\sin(\phi)}$$
This is not correct, because for ##\phi = pi/2##, d should be ##d = (a^2+b^2)\cos (\theta)##..
Where have I gone wrong?