Hi, I've been trying to work this problem that someone needs for a closet project. I tried to get some help in the general math forum, but that didn't work. Hopefully I'm targeting the right group now :) Basically we're trying to build custom (cut to fit) shelves in a walk-in closet. There's a little problem though; the back wall is curved. Now, the shelves themselves will not be curved to fit the wall, they will be straight-back ones. Here's a picture of what I'm talking about; Closet Example Just a sidenote, the thin lines (83" markings) are just measurements, not walls. I have all the measurements (all in inches, and then the angle), some of which i calculated to fill in the blanks. I need three shelves, all the same width, to fit against that curved wall. To make it easier, the depth of the shelves will be 16.5", and height is not an issue. Because of the two side walls, there will be some dead space. Obviously the front corner of a shelf will hit the walls on the side. Shelf Now, the question is, how do I find the optimum shelf width so that the three shelves make the best fit? I tried to find it, but I'm pretty much stumped. I know there's a mathematical solution to this. A practical solution would be even better, since of course I can actually be in the closet taking measurements. Thanks!