Learn R Programming

sonicscrewdriver (version 0.0.7)

frequencySound: Get the frequency from wavelength and speed of sound

Description

Calculates the frequency of a sound wave given the wavelength and speed of sound in that medium.

Usage

frequencySound(wl, s = soundSpeed(medium = "air"))

Value

Frequency of the sound in Hertz

Arguments

wl

Wavelength

s

Speed of sound (defaults to the speed of sound in air)

Examples

Run this code
f <- frequencySound(wl=100, s=343)

Run the code above in your browser using DataLab