Probability - Monte Carlo Simulation

I'm doing my assignment, I'm stuck in between.

I'm summarising what is need.
in a flight there are 100 seats, 1st person lost his boarding pass and do not know his seat number so he sit randomly, then 2 to 99 persons enter the flight and they keep shifting the first guy (if he is seated in their seat). Finally when 100th person enter what is the average times the 1st person is shifted?

So my question is, how to find the average using probability?

Thanks in advance!

Hi @anbananand!

Since this is a question about an assignment, please read our FAQ: Homework Policy.

One of the rules you'll need to follow when asking specific homework-related questions here is to not post the word-for-word text of your assignment questions. Can you please find another way to ask your question and edit your topic above to follow this rule? Some advice from the FAQ may be helpful here:

OK, Noted the same !

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.