powered by
Volume of a sphere (arbitrary dimension).
volume_sphere(d, r = 1)
The volume of the sphere with radius r in the d-dimensional space.
r
d
dimension of the space
radius of the sphere
r <- 2 volume_sphere(3, r) 4/3*pi*r^3
Run the code above in your browser using DataLab