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 130 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?

Acute bronchitis is an inflammation of the breathing tubes (bronchi), which causes increased mucus production and other changes. It is usually caused by bacteria or viruses, can be serious in people who have pulmonary or cardiac diseases, and can lead to pneumonia.

Did you know?

The first-known contraceptive was crocodile dung, used in Egypt in 2000 BC. Condoms were also reportedly used, made of animal bladders or intestines.

Did you know?

The ratio of hydrogen atoms to oxygen in water (H2O) is 2:1.

Did you know?

Amoebae are the simplest type of protozoans, and are characterized by a feeding and dividing trophozoite stage that moves by temporary extensions called pseudopodia or false feet.

Did you know?

Asthma-like symptoms were first recorded about 3,500 years ago in Egypt. The first manuscript specifically written about asthma was in the year 1190, describing a condition characterized by sudden breathlessness. The treatments listed in this manuscript include chicken soup, herbs, and sexual abstinence.

For a complete list of videos, visit our video library