Suppose that, during a thunderstorm, you heard a loud thunder 10 seconds

after you saw the lightening. The air temperature on this day was 20 oC.
How far away was the thunderstorm from where you were? Give your
answer in kilometers and in miles.

Suppose you used a 300 Hz tuning fork to produce resonant frequency in a

tube whose diameter is 3.0 cm. At what length of the tube will you the
resonant frequency if the air temperature inside the tube is 25 oC. Assume
that the tube is closed at one end.

Assume the light gets there immediately (c = 3*10^8 m/s)

speed of sound in air = about 343.4 m/s at 20 C

10 seconds * 343.4 m/s = 3434 meters
= 3.434 km or 2.13 miles

By the way, those of us who do navigation at sea approximate the time to hear a sound after seeing the cause (or hearing it on radio) approximate nautical miles = time in seconds/5

The temperature was 25 C does that change the speed of sound in the air?

Please disregard my last question.

half a wavelength in the pipe.

wavelength = velocity of sound times period
so
1/2 wavelength = pipe length
= (1/2)(340 m/s or whatever)/300

It has nothing to do with the diameter

Can you provide the unit of the final answer? Meters?

meters