Description Usage Arguments Author(s) Examples
Provides the surface area of a sphere.
1 | areasphere(radius)
|
radius |
The radius of the sphere. |
Glenn J Tattersall
1 2 3 4 5 6 7 8 9 10 | ## 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.