radarRange | R Documentation |
Calculates the distance of an object based on the round trip time of an echolocation pulse
radarRange(t, c = soundSpeed(medium = "air"))
t |
Time in seconds |
c |
Speed of sound in transmission medium m/s (by default air) |
Distance to object
radarRange(2)
radarRange(2, c=343)
radarRange(2, c=soundSpeed(medium = "sea water"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.