soundSpeed | R Documentation |
This function finds the average speed of sound in water or air (c) in m/s given information on temperature, salinity, and depth.
soundSpeed(t, med = "air", s = NULL, z = NULL)
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 |
The speed of sound in m/s
#Speed of sound in 30°C water with a salinity of 2000 ppt and a depth of
# 2010 m
soundSpeed(30, "water", 2000, 2010)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.