Question: - Implement the 3-D Space Pursuit problem 3-D Space Pursuit Problem Write a Simulation program and test it for a three dimensional space pursuit of


- Implement the "3-D Space Pursuit" problem 3-D Space Pursuit Problem Write a Simulation program and test it for a three dimensional space pursuit of two spaceships each equipped with a laser beam weapon that can destroy its target if it is within a cylindrical angle of degrees and a distance of . Do not assume a pure pursuit, but make any necessary assumptions for smart spaceship commanders. Some sort of graphic (character graphic is allowed) output is required in addition to a summary report discussing your results. Hint: Equations for a 2-D pursuit of a cat tracking a mouse are given as follows: The distance between the cat and the mouse at time t is always given as: Dist(t)=(Ymouse(t)Ycat(t))2+(Xmouse(t)Xcat(t))2 The angle of the line between the cat and the mouse at time t is given by: sin=Dist(t)Ymouse(t)Ycat(t),cos=Dist(t)Xmouse(t)Xcat(t)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
