Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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.