Ducks

python_package_template.ducks.ducks_in_earth(duck_volume, R_EARTH=6378000.0)

Compute the number of ducks that fit in the earth

Parameters:
  • duck_volume (float) – Volume of one rubber duck [m^3]
  • R_EARTH (float) – Earth’s equatorial radius [m] Default: 6,378,000.0
Returns:

Number of whole ducks that it would take to fill the Earth

Return type:

num_ducks (int)