areasphere | R Documentation |
Provides the surface area of a sphere.
areasphere(radius)
radius |
The radius of the sphere. |
Glenn J Tattersall
## The function is currently defined as
function (radius)
{
Area <- 4 * pi * radius^2
Area
}
# Example calculation:
radius<-4
areasphere(radius)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.