How I can determine the intersection point of two projectile

2 vues (au cours des 30 derniers jours)
Ashraf Zaman
Ashraf Zaman le 14 Jan 2022
Modifié(e) : Torsten le 14 Jan 2022

Réponse acceptée

Torsten
Torsten le 14 Jan 2022
Modifié(e) : Torsten le 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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by