This topic contains a solution. Click here to go to the answer

Author Question: You are coding a game in which a spaceship is firing ammunition at an enemy craft. The ships are ... (Read 140 times)

stevenposner

  • Hero Member
  • *****
  • Posts: 608

Question 1

For non-axis aligned vector reflection, vf = 2* P + vi. What does “P” represent in this equation?


the projection of vf onto the boundary line


the projection of the normal from the boundary line


the potential energy of the colliding object


the projection of -vi onto the normal of the boundary line



Question 2

You are coding a game in which a spaceship is firing ammunition at an enemy craft. The ships are chasing each other through an asteroid field. Your ship misses its target, and the ammo deflects off the flat side of a nearby asteroid. The side of the asteroid is bounded from point (60,35) to point (225,275). If the ammunition has an incoming velocity of [100 30] when it hits, what will the resulting velocity be?


[-7.78  104.16]


[-53.9  37.08]


[207.78  104.16]


[46.11  67.08]



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by stevenposner on Oct 14, 2019

Melissahxx

  • Sr. Member
  • ****
  • Posts: 304
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 55% of students answer this correctly





 

Did you know?

There can actually be a 25-hour time difference between certain locations in the world. The International Date Line passes between the islands of Samoa and American Samoa. It is not a straight line, but "zig-zags" around various island chains. Therefore, Samoa and nearby islands have one date, while American Samoa and nearby islands are one day behind. Daylight saving time is used in some islands, but not in others—further shifting the hours out of sync with natural time.

Did you know?

Elderly adults are living longer, and causes of death are shifting. At the same time, autopsy rates are at or near their lowest in history.

Did you know?

The first oral chemotherapy drug for colon cancer was approved by FDA in 2001.

Did you know?

On average, the stomach produces 2 L of hydrochloric acid per day.

Did you know?

Signs and symptoms that may signify an eye tumor include general blurred vision, bulging eye(s), double vision, a sensation of a foreign body in the eye(s), iris defects, limited ability to move the eyelid(s), limited ability to move the eye(s), pain or discomfort in or around the eyes or eyelids, red or pink eyes, white or cloud spots on the eye(s), colored spots on the eyelid(s), swelling around the eyes, swollen eyelid(s), and general vision loss.

For a complete list of videos, visit our video library