Question: 3.44 Write a function distance that takes as input a number: the time elapsed (in sec- onds) between the flash and the sound of thunder.

3.44 Write a function distance that takes as input a number: the time elapsed (in sec- onds) between the flash and the sound of thunder. Your function should return the distance to the lightning strike in kilometers. The speed of sound is approximately 340.29 meters per second; there are 1000 meters in one kilometer. >>>distance (3) 1.0208700000000002
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
