powered by
Calculates the distance of an object based on the round trip time of an echolocation pulse
radarRange(t, c = soundSpeed(medium = "air"))
Distance to object
Time in seconds
Speed of sound in transmission medium m/s (by default air)
radarRange(2) radarRange(2, c=343) radarRange(2, c=soundSpeed(medium = "sea water"))
Run the code above in your browser using DataLab