
Originally Posted by
Woozie
I'm not getting the right answer and I don't really have time to work on the problem. I'm getting tan in terms of the same variables that you have them in terms of, so I'm guessing it's going to take a bunch of algebra to get my answer to look like yours. My answer is much bigger and much more complicated.
What I did was to write x(t) = v*cosθ*t, y(t) = h + v*sinθ*t-1/2*g*t^2. In the second equation, I solve for v*sinθ*t, and divide this answer by v*cosθ*t. The v and the t cancel and I'm left with sinθ/cosθ, which is just tanθ. So this is equal to y(t)-h+1/2*g*t^2/x(t)
Now we plug in t = <the thing you had for x> divided by v*cosθ. So, just the part of x that doesn't have the v*cosθ. This gives you y(t)=0 automatically, and x(t) = X. After making these substitutions, you end up with an answer that's similar to yours and dimensionally consistent, but still depends on sinθ. I use the equation you had (x=blah blah blah), and rewrite the cos in terms of sinθ and solve for it, and substitute that for every sinθ in my equation. This gives a really long expression, but it's tanθ expressed in terms of the same variables as your answer. I don't know how to get from what I have to what you have. If I have more time I'll work on it tomorrow.