Projectile Launch Angle: What Could Be Causing My Arccos Computation Problem?

AI Thread Summary
The discussion focuses on the formulas used to calculate projectile launch angles when the target is at different elevations. It highlights the need for distinct calculations based on whether the target is lower or higher than the launch point. The correct formula for a higher target includes adjustments for height differences and uses the Arccos function. There is a suggestion that a missing parenthesis in the formula could lead to computation errors. The conversation concludes with an inquiry about the source of the computation problem related to the Arccos function.
dejavu333
Messages
1
Reaction score
0
Homework Statement
velocity:20m/s we're on 5m, target is on 10m. What are the possible launching angles? The diatance is 40m
Air resistance can be neglected.
Relevant Equations
none
if the target is lower than me, the formula is below, but if it's higher as in the task, a whole different formula is required I think.
a = 9.8 * distance^2 / velocity^2
phi = Arctan(distance / height_diff)
angle_if_elevation = ( Arccos((a - height_diff) / Sqroot(height_diff^2) + distance^2)) + phi ) / 2
 
Physics news on Phys.org
Your left out an open paren, so:
angle_if_elevation = ( Arccos((a - height_diff) / Sqroot((height_diff^2) + distance^2)) + phi ) / 2

The same formulas are used - with the "height_diff" being negative.
But, you may not get results to your expectation.
My guess is that your arccos computation is giving you a problem.

What do you think is the source of that problem?

I think this is your graphic:
projectile-angle.png
 
Last edited:
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Back
Top