Learn R Programming

sonar (version 1.0.2)

SpeedOfSound: Speed of sound

Description

Returns the speed of sound from wavelength and frequency

Usage

SpeedOfSound(lambda, f)

Arguments

lambda
numeric, wavelength (meters)
f
numeric, frequency (Hz)

Value

the speed of sound (m/s)

References

Waite A. D., 2002 Sonar for Practising Engineers, 3rd Edition Chichester: Wiley. pp. 1.

Examples

Run this code
SpeedOfSound( 5,  70)

Run the code above in your browser using DataLab