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

Click For Summary
SUMMARY

The discussion centers on the computation of projectile launch angles using the Arccos function, particularly when the target is at a different elevation. The formula for calculating the angle when the target is higher involves the equation: angle_if_elevation = (Arccos((a - height_diff) / Sqroot((height_diff^2) + distance^2)) + phi) / 2. Participants noted that an open parenthesis was missing in the original formula, which could lead to computation errors. The issue with the Arccos function may stem from incorrect input values or misinterpretation of the height difference.

PREREQUISITES
  • Understanding of basic physics principles related to projectile motion.
  • Familiarity with trigonometric functions, specifically Arccos and Arctan.
  • Knowledge of mathematical notation and operations, including square roots and exponentiation.
  • Experience with computational tools or programming languages that handle mathematical functions.
NEXT STEPS
  • Review the physics of projectile motion, focusing on elevation differences.
  • Learn about the implications of using the Arccos function in calculations.
  • Explore error handling in mathematical computations to avoid common pitfalls.
  • Investigate graphical representations of projectile paths to visualize angle calculations.
USEFUL FOR

Students and professionals in physics, engineers working on projectile design, and anyone involved in computational modeling of motion will benefit from this discussion.

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:

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
3K
  • · Replies 15 ·
Replies
15
Views
26K
  • · Replies 15 ·
Replies
15
Views
9K
Replies
25
Views
3K
Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K