Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a simulation in which I generate $n$ small cubes with side length $w$, with random (uniformly distributed) positions inside a large cubic region with side length $S$.

The smaller cubes are allowed to intersect, but are constrained to be wholly inside the large region.

I need to determine an estimate (expected value) of the total volume occupied by the smaller cubes, taking their possible intersection into account.

I suspect the problem at Expected occupied area of a surface covered with possibly overlapping random shapes. is related, but I do not understand how the answerer gets from the second last to the last step. I get a different result. I would greatly appreciate any help.

Thank you in advance.

share|cite|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.