Step 1: For solving this exercise, we need to know the speed of sound. We will calculate it this way:
Speed = Distance/Time
Replacing with the values Josh has.
Speed = 5 miles/12 seconds
Speed = 0.417 miles per second
Step 2: Now, let's calculate the distance after 7 seconds:
Using the same formula, we can find the distance, as follows:
Distance = Speed * Time
Distance = 0.417 * 7
Distance = 2.919
Distance = 3 miles (Rounding to the nearest whole number)
Step 3: Interpretation of the answer, as follows:
The lightning was 3 miles away when Josh counted 7 seconds between the next flash of lightning and thunder.