Also,
CSflim, arcos(x) is less confusing than cos^-1(x), you know what I mean? You don't have the luxury of writing this down nor printing it up in
LaTeX...
Furthermore, if you want to do some vague sanity checking for your formula, try it out for some extreme cases, like if L = 1 and Depth = 0, r, and 2r...