Kayoed Kangaroo

This challenge considers an upset kangaroo making a series of discrete jumps in order to retaliate, and thus involves trigonometry.

Kangaroo chasing Sheep

Red Kangaroos in Australia compete with sheep for food. Sheep is grazing when it bumps into Kangaroo. The kangaroo wishes to learn the sheep some respect by either pummelling it, or pushing it into a nearby pond. Sheep wants to escape Kangaroo, but is slower than Kangaroo. However, Kangaroo is only capable of moving in jumps. Ergo, if Sheep stays far enough away to avoid pummelling, but too close for Kangaroo to jump, it is safe, and thus can avoid retribution indefinitely. Precisely formulated:

  • Kangaroo can jump up to 8 meters
  • Kangaroo cannot jump fewer than 5 meters
  • Kangaroo can jump at most fource per second
  • Kangaroo can pummel the sheep they are within 1 meter
  • Sheep can flee at 10 meters per second
  • Sheep can flee for 1 second before before Kangaroo pursues
  • There is a nearby pond, a perfect circle and 100 meters in radius
  • Sheep does not like swimming or being pummelled;
  • Kangaroo wishes to punish Sheep for perceived slight

Therefore, the challenge is thus: what is the maximum distance from the pond from which Kangaroo can punish Sheep?

Solution to Curt Cutting

From a deck of n cards, we cut—randomly select with replacement—10 different cards before cutting a card we had seen before. We are trying to determine the probability of achieving this result for n from 10, the lowest n for which result is possible, up to n < 30.

{10\over10}\cdot{9\over10}\cdot{8\over10}\cdot{7\over10}\cdot{6\over10}\cdot{5\over10}\cdot{4\over10}\cdot{3\over10}\cdot{2\over10}\cdot{1\over10} \cdot{10\over10}\ =\ {9!\,10\over10^{10}}\\[16pt] \operatorname P n \propto {(n-1)!\,10\over (n-10)!\,n^{10}}
Probability distribution of n

For n = 10, the calculation is simple and shown above. For n = 11, is the calculation more complex? No: 10!9/1110 works! However… this does not work for n = 12. 11 * 10 … 2 does not match the equation used above to derive the formula. It should be 11 * 10 * … 3, of course. With that error avoided, the formula above is produced, and this can easily produce a probability distribution. The expected value of n is then easily calculated to be ≈23.31.