Compute buoyancy of object given in-air properties

buoyancyCalculation(weight = 16.3, rho = 2400, rhoWater = 1027)

Arguments

weight

numeric value giving the object's in-air weight, kg.

rho

object's density in kg/m^3. The default is a value for steel.

rhoWater

water density in kg/m^3. The default is a rough value for seawater.

Value

buoyancyCalculation returns the in-seawater buoyancy of the object, in kg.

Author

Dan Kelley

Examples

# 8x8x16 inch cinder block weighs 16.3kg
in2m <- 0.0254
buoyancyCalculation(16.3, 2400) # -9.32 kg
#> [1] -9.324958
# 8x8x16 inch concrete block weighs 23.1kg
buoyancyCalculation(23.1, 2400) # -13.2 kg
#> [1] -13.21512