areaSpherePart | R Documentation |
compute the area of an n-dimensional hypersphere cap
areaSpherePart(n, phi, r = 1)
n |
dimensionality of space the hypersphere is embedded in (e.g.3 for a 3D-sphere) |
phi |
angle between vectors defining the cone |
r |
radius of the sphere |
returns the area of the hypersphere cap
areaSpherePart(2,pi/2) # covers half the area of a circle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.