snell | R Documentation |
This function is a reformated version of Snell's law that finds reflection or refraction angle given the two mediums longitudinal wave velocities.
snell(ang, v1, v2)
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. |
The opposing angle of reflection or refraction, respectfully
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.