Trajectory is the path a moving object follows through space. A trajectory can be described mathematically…