Answer on Statistics and Probability Question for Jaan
There are n randomly placed books on a shell with the two-volume edition of Jack London among them. Suppose that the different book arrangements are equiprobable. What is the probability that both volumes are located near each other?
There are n! possible ways to arrange n books on the shell. Two books together (Vol.1, Vol.2) can be placed among these n books in (n-1) different ways (Vol.1 takes places 1..(n-1), Vol.2 takes places 2..n). According to the task, the order doesn’t matter ((Vol.1, Vol.2)~(Vol.2, Vol.1), they just have to be placed together), then there are 2*(n-1) different ways to do that. Thus, the probability that both volumes are located near each other is: P = 2*(n-1)/n!
I'm extremely impressed with your work. In fact, I am likely going to change major to computer science from next semester. Before turning to you for help, I thought its all over and there is simply no one who can offer expert programming help. I had no hope at all. My experiences with other sites were horrible.
By chance I contacted you about 7 months back and it was amazing when I looked at your work. From thereon, I decided to rely on you only.