How I can determine the intersection point of two projectile

2 views (last 30 days)
Ashraf Zaman
Ashraf Zaman on 14 Jan 2022
Edited: Torsten on 14 Jan 2022

Accepted Answer

Torsten
Torsten on 14 Jan 2022
Edited: Torsten on 14 Jan 2022
Set x1 = x2 and y1 = y2 for an intersection point of the two curves.
You'll get
xinter= (tan(theta2)-tan(theta1))/(g/(2*(v2*cos(theta2))^2)-g/(2*(v1*cos(theta1))^2))
yinter= tan(theta1)*xinter- g*xinter^2/(2*(v1*cos(theta1))^2) - y0
as intersection point.
Of course, you will have to check whether xinter > 0, yinter > 0.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!