InterviewDB Question

Trajectory: Simulate a Projectile Trajectory and Find Landing Position

Question Details

Problem Simulate the 2D trajectory of a projectile launched from the origin with initial speed V at angle theta (degrees from horizontal), subject to gravity g. Return the (x, y) coordinates sampled at each time step dt, and the landing position (whe…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Phone