sphereArea: Surface area of spheres, volumes of balls in n-dimensions.

Description Usage Arguments Value Examples

View source: R/SphericalCubature.R

Description

Calculates the (n-1) dimensional surface area of a sphere and the n dimensional volume of a ball in n-space.

Usage

1
2
sphereArea(n, R = 1)
ballVolume(n, R = 1)

Arguments

n

Dimension of the space.

R

Radius of the sphere/ball.

Value

Single number that is the area of the sphere/volume of the ball.

Examples

1
2

SphericalCubature documentation built on Jan. 13, 2021, 1:04 p.m.