View Single Post
Office_Shredder
Office_Shredder is offline
#2
Aug16-06, 07:07 AM
Mentor
P: 4,499
x = x0 + s * cos(a) * t
Try solving for t here, then plugging that into the other equation (the one for y). This way, you're solving directly for s, which is what the question asks for.

One thing though, when you solved for t, it's not the sqrt(g) you're taking, it's the square root of y - y0 - x * tan(a) + x0 * tan(a)) / g

which may or may not be negative in its entirety