Find angle at which parabola passes through a set point

3 次查看(过去 30 天)
Hi, so i'm trying to make a code which will be used in a uni project. Basically, I need to code something which calculates the angle I need to fire a ball at to get it through a target. For the purposes of this, velocity, target distance in x direction and y direction are fixed. 36.5m/s, 6m and 1.14m. I cannot for the life of me work out how I can do this? I've tried loads of different for loops, itterating through a linspace of all possible angles but nothing works. The angles are always way too tiny. Any help would be super apreciated.
PS. (I am using normal drag equations, F = 1/2 rho v2 A C.)

回答(1 个)

Namit Joshi
Namit Joshi 2022-2-2
Hi,
Please refer to the following link to know more about finding angle of a trajectory
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by