# Find angle at which parabola passes through a set point

2 ビュー (過去 30 日間)
Tom Heal 2022 年 1 月 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 日
Hi,
Hope this helps!

サインインしてコメントする。

### カテゴリ

Find more on Financial Toolbox in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by