gistlib
main.m% Define variables distance = 100; % meters time = 9.58; % seconds hours = 1/3600; % conversion factor from seconds to hours % Calculate average speed hundred = (distance/time)/1000 / hours; % km/h % Display result disp(hundred) 231 chars11 lines
% Define variables distance = 100; % meters time = 9.58; % seconds hours = 1/3600; % conversion factor from seconds to hours % Calculate average speed hundred = (distance/time)/1000 / hours; % km/h % Display result disp(hundred)
Output:
main.m37.5783 8 chars2 lines
37.5783
Therefore, Usain Bolt's average speed in the men's 100-meter dash was approximately 37.6 km/h.
gistlibby LogSnag