Introduction to Robotics/Printouts/Sound Waves: Difference between revisions
wikademia>Whiteknight No edit summary |
wikademia>Whiteknight mNo edit summary |
||
| Line 6: | Line 6: | ||
:''C'' is the speed of sound in air, measured in meters per second. | :''C'' is the speed of sound in air, measured in meters per second. | ||
:''t'' is the amount of time the wave travels, measured in seconds. | :''t'' is the amount of time the wave travels, measured in seconds. | ||
:At 72°, sound travels at 344.8''m/s''. | |||
;Convert to Centimeters | ;Convert to Centimeters | ||
| Line 15: | Line 16: | ||
:Because the sound wave must travel to the object and ''back''. | :Because the sound wave must travel to the object and ''back''. | ||
:The BoeBot measures ''t'' in "clock cycles", which are each 2μseconds. We must convert the equation to use seconds instead of clock cycles: | :The BoeBot measures ''t'' in "clock cycles", which are each 2μseconds. We must convert the equation to use seconds instead of clock cycles: | ||
:<math>D = \frac{100Ct}{2}\times\frac{2}{1,000,000} = frac{Ct}{10,000} = 0.03448t</math> | :<math>D = \frac{100Ct}{2}\times\frac{2}{1,000,000} = \frac{Ct}{10,000} = 0.03448t</math> | ||
;Fractional Math | ;Fractional Math | ||