Provides the surface area of a sphere.

Description

Provides the surface area of a sphere.

Usage

1
areasphere(radius)

Arguments

radius

The radius of the sphere.

Author(s)

Glenn J Tattersall

Examples

 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.