Calculating distance of lightning based on time delay - MATLAB Cody - MATLAB Central

Problem 59711. Calculating distance of lightning based on time delay

Difficulty:Rate
If we know the time delay between when we see lightning and hear thunder then we can calculate approximate distance(in meters) of how far the incident happened. Write a code to calculate that distance if the time delay t is known.

Solution Stats

73.68% Correct | 26.32% Incorrect
Last Solution submitted on May 14, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers12

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!