Mathematics
Mathematics, 05.06.2020 18:02, lilpeepxliltracy

After all your hard work studying for Algorithms you, Alice and Bob end up stuck in a room full of deadly zombies! Luckily you have a gun with plenty of ammunition and can reliably shoot one zombie dead every second. Each zombie is di feet away and moving at a speed of si feet per second. If a zombie reaches you then you all die. You are arguing about what order to shoot the zombies so you live as long as possible. 1. State this input and output conditions for this optimization problem.
2. Alice suggests shooting the closest zombie first. Give a counterexample that shows this is incorrect.
3. Bob suggests shooting the fastest zombie first. Give a counterexample that shows this is incorrect.
4. What order should you shoot the zombies?
5. Prove your order will let you live the longest. Grading You will be docked points for errors in your math, disorganization, unclarity, or incomplete proofs.

answer
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:30, Elliewop
What is the distance between (–2 1/2,-3) and (1, –3)?
Answers: 1
image
Mathematics, 21.06.2019 14:30, camp591
The last time i bought this product , it cost $20.00 but it looks like it cost 29. 60 today? what is the increase
Answers: 2
image
Mathematics, 21.06.2019 15:10, blessing5266
Aline on the wall and a line on the floor are skew. always, sometimes, or never?
Answers: 3
image
Mathematics, 21.06.2019 17:00, 2021CanadyRaniya
The parabola x= √y-9 opens: a.)up b.)down c.)right d.)left
Answers: 1
Do you know the correct answer?
After all your hard work studying for Algorithms you, Alice and Bob end up stuck in a room full of d...

Questions in other subjects: