(advancedhere is puzzle problem that can be solved with either some fancy analytic geometry (calculusor (relativelysimple simulation suppose you are located at the exact center of cube if you could look all around you in every directioneach wall of the cube would occupy of your field of vision suppose you move toward one of the walls so that you are now half-way between it and the center of the cube what fraction of your field of vision is now taken up by the closest wallhintuse monte carlo simulation that repeatedly "looksin random direction and counts how many times it sees the wall