Sorry for the awful title, but this is a difficult problem to describe, so I made a picture. I want to find R given theta and all of the outer radii. Each of the outer circles must be centered on the circumference of the inner circle, and angle separating each of them (from their intersection with the larger circle) must be theta. The image illustrates the problem with 5 outer circles, but I need a solution that is generalized for n outer circles. How can I find R as a function of theta and all of the smaller radii?
I've done some math and come up with the following equation (and I can explain its basis if that would help):
$$ 2 \pi = n\theta + \sum_{i=0}^{n} 4 \arcsin{\frac{r_i}{2R}} $$
But as far as I know it is impossible to solve for R in any generalized way. Could someone give me some pointers? Thanks.