Learn R Programming

ashapesampler (version 1.0.0)

sphere_overlap_cs: sphere overlap when one is centered on circumference of the other

Description

Sphere overlap cs is subfunction for repeated code in calc_overlap_3D Returns the area of two overlapping spheres where one is centered on the other's surface (cs = centered on surface)

Usage

sphere_overlap_cs(alpha, r)

Value

volume of intersection

Arguments

alpha

radius 1

r

radius 2