Surface of a sphere (arbitrary dimension).
surface_sphere(d, r = 1)
dimension of the space
radius of the sphere
The surface of the sphere of radius
r in the
r <- 2 surface_sphere(3, r) 4*pi*r^2 # perimeter of the unit circle: surface_sphere(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.