soundSpeed {bioSNR}R Documentation

Sound Speed

Description

This function finds the average speed of sound in water or air (c) in m/s given information on temperature, salinity, and depth.

Usage

soundSpeed(t, med = "air", s = NULL, z = NULL)

Arguments

t

The temperature in °C

med

The medium sound is traveling through

s

The salinity in parts per thousand (ppt)

z

The depth in m

Value

The speed of sound in m/s

Examples

#Speed of sound in 30°C water with a salinity of 2000 ppt and a depth of
# 2010 m
soundSpeed(30, "water", 2000, 2010)


[Package bioSNR version 1.0 Index]