snell {bioSNR} | R Documentation |
Snell's Law
Description
This function is a reformated version of Snell's law that finds reflection or refraction angle given the two mediums longitudinal wave velocities.
Usage
snell(ang, v1, v2)
Arguments
ang |
The known angle of relfection or refraction |
v1 |
The longitudinal wave velocity of medium where angle (refraction or reflection) is known given in m/s. |
v2 |
The longitudinal wave velocity of medium where angle (refraction or reflection) is unknown given in m/s. |
Value
The opposing angle of reflection or refraction, respectfully
Examples
# Calculate the reflection angle given the angle of a black-tailed godwit sound
#source is 64 degrees, the speed is 1564 m/s in the first medium and 1494 m/s
#in the second medium.
snell(64,1564,1494)
[Package bioSNR version 1.0 Index]