Answer to Question #105417 in Algorithms for Kandy Hamisi

Question #105417
How can i find the expected number of times inhabitants of a town are happy with their meals assuming meal quality is distributed uniformly across a person's life. The inhabitants have the reputation of enjoying a meal if that meal is the best they have ever experienced in their lives otherwise they hate it....Help me find the expected number of time the inhabitants of this town are happy with their meals.
1
Expert's answer
2020-03-16T11:37:55-0400

The easiest way is to take NN inhabitants. Ask each of them (to distinguish them, we will assign a number j=1,2,...,mj=1,2,...,m to every individual) about how they like the food across their life. Every day with number i=1,2,...,ki=1, 2, ...,k count the number of times nin_i each inhabitant was happy with his meals. Calculate the sum Sj=ΣnijS^j=\Sigma n_i^{j} for each individual - a lifetime number of times people liked their meals. After the experiment ends, find the total number of "like" times L=ΣSjL=\Sigma S^j and divide it byN.N. This will be the average number of times inhabitants were happy with their meals across a person's life.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment