Esteem the number of fruits that monkey can eat.

  • Thread starter Alexsandro
  • Start date
In summary, the conversation discusses a monkey named Mike who is trying to reach the highest twig on a tree with many twigs, each containing a fruit. Mike has a 50% success rate in his jumps, and if he fails, he has to start over. The conversation then goes on to explain how to calculate the expected number of fruits Mike will eat after a certain number of jumps. This can be done by encoding Mike's jumps as a binary string and calculating the expected longest sequence of 1's in the string. This can be calculated using first principles and results in an expected number of fruits equal to log(n+1)/log(2).
  • #1
Alexsandro
51
0
The Mike monkey is under of a tree with many twigs. Each twig contains a fruit, but he is 3 meters higher of the one than the previous twig (the first twig is the 3 meters of the soil). To reach the next twig, Mike gives a jump and has success with probability 1/2. In imperfection case, it it falls in the soil and it has that to start everything of new. It esteem the number of fruits that Mike obtains to eat n after jumps. It justifies.
 
Physics news on Phys.org
  • #2
Hmm,
Again let's do some encoding,
Whenever the monkey is successfull in its jump, encode that as a 1 and if it fails encode that as a 0. Hence the sequence of jumps made by the monkey are encoded as a n-bit binary string.
Then the required expectation is the expected longest sequence of 1's in the binary string. This expectation can be calculated from first principles, again a bit tedious.
E[longest sequence of 1's]
= 0 * P(longest sequence of 1's = 0)
+ 1 * P(longest sequence of 1's = 1)
+ 2 * P(longest sequence of 1's = 2)
+...+ n * P(longest sequence of 1's = n)

The probabilities can be calculated by looking that 2^n possible binary representations.

-- AI
 
  • #3
log(n+1)/log(2) fruits
 
Last edited:
  • #4
log(n+1)/log(2) fruits
 

1. How do scientists determine the number of fruits that monkeys can eat?

Scientists use various methods such as field observations, experiments, and diet analysis to determine the number of fruits that monkeys can eat. They also take into consideration factors like the monkey's size, age, and metabolism.

2. Do different species of monkeys eat different types of fruits?

Yes, different species of monkeys have different dietary preferences and may eat different types of fruits. For example, some monkeys may prefer soft fruits like bananas and berries while others may prefer hard fruits like nuts and seeds.

3. How many fruits can a monkey eat in a day?

The amount of fruits a monkey can eat in a day varies depending on factors like its size and activity level. On average, a monkey can eat around 10-15% of its body weight in fruits per day.

4. Are there any fruits that are harmful to monkeys?

Yes, there are some fruits that can be harmful to monkeys. For example, grapes and avocados can be toxic to some monkey species. It is important to consult with a veterinarian or do research before feeding fruits to monkeys, especially in captivity.

5. How does the number of fruits in a monkey's diet affect their health?

The number of fruits in a monkey's diet is important for their overall health. A diet that is too high in fruits can lead to obesity and dental problems, while a diet that is too low in fruits can result in nutrient deficiencies. It is important for monkeys to have a balanced and varied diet that includes fruits, along with other food sources.

Similar threads

  • Mechanical Engineering
Replies
13
Views
1K
  • Introductory Physics Homework Help
Replies
8
Views
3K
  • Beyond the Standard Models
Replies
0
Views
989
  • Feedback and Announcements
Replies
1
Views
385
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
3K
  • Set Theory, Logic, Probability, Statistics
3
Replies
93
Views
17K
  • General Math
Replies
7
Views
3K
  • Art, Music, History, and Linguistics
Replies
1
Views
1K
  • Beyond the Standard Models
Replies
11
Views
2K
Back
Top