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

 Write a function distance) that takes as input a number: the

Write a function distance) that takes as input a number: the time elapsed (in seconds) 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)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!