Find angle at which parabola passes through a set point
2 ビュー (過去 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 2022 年 2 月 2 日
Please refer to the following link to know more about finding angle of a trajectory
Hope this helps!