A radar system sends a short electromagnetic pulse toward a target and measures the elapsed time between transmission and reception of the reflected echo.
Write a function that takes this elapsed time in seconds as input and returns the estimated target distance in meters, rounded to two decimal places.
Assume that the pulse travels at the speed of light (c = 299792458 m/s).

Solution Stats

43 Solutions

33 Solvers

Last Solution submitted on Nov 06, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...