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

Once thought to have neurofibromatosis, Joseph Merrick (also known as "the elephant man") is now, in retrospect, thought by clinical experts to have had Proteus syndrome. This endocrine disease causes continued and abnormal growth of the bones, muscles, skin, and so on and can become completely debilitating with severe deformities occurring anywhere on the body.

Did you know?

In inpatient settings, adverse drug events account for an estimated one in three of all hospital adverse events. They affect approximately 2 million hospital stays every year, and prolong hospital stays by between one and five days.

Did you know?

Human kidneys will clean about 1 million gallons of blood in an average lifetime.

Did you know?

Pink eye is a term that refers to conjunctivitis, which is inflammation of the thin, clear membrane (conjunctiva) over the white part of the eye (sclera). It may be triggered by a virus, bacteria, or foreign body in the eye. Antibiotic eye drops alleviate bacterial conjunctivitis, and antihistamine allergy pills or eye drops help control allergic conjunctivitis symptoms.

Did you know?

Elderly adults are at greatest risk of stroke and myocardial infarction and have the most to gain from prophylaxis. Patients ages 60 to 80 years with blood pressures above 160/90 mm Hg should benefit from antihypertensive treatment.

For a complete list of videos, visit our video library