- #1
jst
- 28
- 0
"3D Space Pursuit Problem"
This is actually a programming assignment, more than a physics problem. However the issue I'm having is more with the math/physics than with the programming. Anyway here it goes:
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 angles of ALPHA degrees and a distance of BETA. Do not assume a pure pursuit, but make any necessary assumptions for smart spaceship commanders. Some sort of graphic output is required in addition to a summary report discussing your results.
Included with the problem was these "hints":
http://glomawr.com/hint.jpg
After looking at the book that my professor referenced in his "hint", 2D is no problem, but I'm a little confused on 3D. I found the book on Google Book Search and copied the 3 pages if anyone wants to take a look: http://glomawr.com/problem.jpg
So looking online, I found:
http://glomawr.com/eq1.jpg
Do I just combine the above info with the "hint" where I replace the SIN THETA with the value of SIN from the "hint"?
Also, I assume that the distance equation would be similar, but with an additional z coordinates.
Just more of an opinion thing...by: "Do not assume a pure pursuit, but make any necessary assumptions for smart spaceship commanders" I think he means not do it exactly like the book and give the second plane some weak AI where it moves a bit. What would you assume? (professor isn't really responding to emails )
Thanks a lot. Any opinions, ideas, and info are appreciated.
-Jason
Homework Statement
This is actually a programming assignment, more than a physics problem. However the issue I'm having is more with the math/physics than with the programming. Anyway here it goes:
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 angles of ALPHA degrees and a distance of BETA. Do not assume a pure pursuit, but make any necessary assumptions for smart spaceship commanders. Some sort of graphic output is required in addition to a summary report discussing your results.
Homework Equations
Included with the problem was these "hints":
http://glomawr.com/hint.jpg
The Attempt at a Solution
After looking at the book that my professor referenced in his "hint", 2D is no problem, but I'm a little confused on 3D. I found the book on Google Book Search and copied the 3 pages if anyone wants to take a look: http://glomawr.com/problem.jpg
So looking online, I found:
http://glomawr.com/eq1.jpg
Do I just combine the above info with the "hint" where I replace the SIN THETA with the value of SIN from the "hint"?
Also, I assume that the distance equation would be similar, but with an additional z coordinates.
Just more of an opinion thing...by: "Do not assume a pure pursuit, but make any necessary assumptions for smart spaceship commanders" I think he means not do it exactly like the book and give the second plane some weak AI where it moves a bit. What would you assume? (professor isn't really responding to emails )
Thanks a lot. Any opinions, ideas, and info are appreciated.
-Jason
Last edited by a moderator: