How I can determine the intersection point of two projectile
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
0 commentaires
Réponse acceptée
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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!