OFFSET
0,1
COMMENTS
If the point is uniformly chosen at random on the surface, then the average is A097047.
LINKS
Mathematics Stack Exchange, Average Width of the Cube, or Average Radius of a Regular Polyhedron, 2021.
Mathematics Stack Exchange, What is the average radius of the hypercube?, 2019.
FORMULA
Equals (1/2) * Integral_{x=-1..1, y=-1..1} (1 + x^2 + y^2)^(-1) dx dy / Integral_{x=-1..1, y=-1..1} (1 + x^2 + y^2)^(-3/2) dx dy.
Equals (3/Pi) * Integral_{x=0..1} arccot(sqrt(1+x^2))/sqrt(1+x^2) dx.
Equals (6/Pi) * Integral_{x=0..Pi/4} log(sqrt(1+cos(x)^2)/cos(x)) dx.
Equals 3 * ((Im(Li_2((3-2*sqrt(2))*i)) - G)/Pi - log(17-12*sqrt(2))/8), where Li_2 is the dilogarithm function, i is the imaginary unit, and G is Catalan's constant (A006752).
EXAMPLE
0.61068740195158385653466722967371662846911552581907...
MATHEMATICA
RealDigits[N[(3/Pi)*Integrate[ArcCot[Sqrt[1 + x^2]]/Sqrt[1 + x^2], {x, 0, 1}], 101], 10, 100][[1]]
(* or *)
RealDigits[3 * ((Im[PolyLog[2, (3 - 2*Sqrt[2])*I]] - Catalan)/Pi - Log[17 - 12*Sqrt[2]]/8), 10, 100][[1]]
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Amiram Eldar, Jul 01 2022
STATUS
approved