powered by
Euclidean volume of a p-ball (arbitrary dimension).
volume_pball(d, p, r = 1)
The volume of the p-ball with radius r.
p
r
dimension
exponent in the p-norm, a positive number
radius of the ball
volume_pball(d=4, p=2, r=2) volume_sphere(d=4, r=2)
Run the code above in your browser using DataLab