The analytical solution for the generalized problem.
In the notebook it says: “Again, the 𝐸𝑖’s are independent from each other, because there is only 1 car available.”
I believe this is incorrect, because the events are mutually exclusive, not independent. If we assume that one of the doors has a goat, the probability that the car is behind one of the other doors increases which means the events are dependent.
The problem says there is one door has a car and another doors have goats.
So when I say that probability of one event = 0 all another doors has higher possibilities or when I say probability of one event = 1 (door has a car) that’s means the rest of events = 0