Learn R Programming

ashapesampler (version 1.0.0)

spherical_cap: Spherical cap

Description

Calculates the volume of a sphere cap given radius r and height of cap h

Usage

spherical_cap(r, h)

Value

v_c volume of spherical cap

Arguments

r

radius

h

height of cap