areasphere: Provides the surface area of a sphere.

Description Usage Arguments Author(s) Examples

View source: R/areasphere.R

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)

Thermimage documentation built on Sept. 27, 2021, 5:11 p.m.