This particle, alone in the box, at a constant velocity $v$, travels in straight lines until hitting a side of the hollow cube, bouncing off in a random direction independent of incident angle (I know it's not momentum conserving, but I'm looking for a statistical average, not a description of a deterministic system).
Let the experiment go on for (essentially) infinite time, and (I assume) the average time between collisions (and so distance) wil converge to a value. What is it?
And what about a hollow sphere?
Edit:
How to begin this confuses me, so I'll consider the simpler scenario of the particle having to hit on an edge of the original square (that is, its velocity had no $z$-component) from its original position $(x_0,y_0)$. Consider each of the 4 edges in turn, by trigonometry deduce the angle between $(x_0,y_0)$ and the vertices ($\theta_1$ and $\theta_2$), and express that edge in polar form: $r(\theta)=\frac{y}{sin(\theta)}$, if $y$ is the shortest distance between $(x_0,y_0)$ and the edge. Integrate $\int_{\theta_1}^{\theta_2}|r(\theta)|d \theta$ to find the sum of the distances, and divide by the edge's length to find the average.
My problem is that I think I'm overcomplicating to the extent that when I extend this to 3 dimensions, it won't spit out a meaningful answer: even in the 2-dimensional case there's $ln(\arccos(...)$ in there that makes me think there's a much more elegant solution.
I'm sorry if I'm still being vague, but I've never encountered ways to get around these problems in the first place.