Kenyan Eliud Kipchoge set a new world record for men of 2:01:39 on September 16, 2018. Assign his average speed in km/h to the variable marathon. The marathon distance is 42.195 kilometers? How to Calculate ?

Kenyan Eliud Kipchoge set a new world record for men of 2:01:39 on September 16, 2018. Assign his average speed in km/h to the variable marathon. The marathon distance is 42.195 kilometers.

2 Comments

Time_2nd=(2*60*60)+(01*60)+39;
Distance_2nd=42.195*1000;
marathon=(Distance_2nd*18)/(Time_2nd*5)

Sign in to comment.

 Accepted Answer

More Answers (4)

Speed is number of kilometers travelled divided by number of hours spent travelling. But you would have known that from the definition of speed, and that is not a MATLAB question.

3 Comments

but we found this question in a course "introduction to programming with MATLAB" and we did not understand this question
now i understand this question
this man run 42.195 kilometers in 2 hours and 1 minite and 39 sec
so it is very simple

Sign in to comment.

Question 1
Track_distance_in_km=100./1000;
Time_in_h=9.58./3600;
hundred=Track_distance_in_km./Time_in_h
Question 2
Time_2nd_question=(2.*60.*60)+(01.*60)+39;
Distance_2nd=42.195.*1000;
marathon=(Distance_2nd.*18)./(Time_2nd_question.*5);
distance_in_km = 100./1000;
time_in_h = 9.58 / (60. * 60);
hundred = distance_in_km / time_in_h;
disp(hundred);
Time_2nd_question=(2.*60.*60)+(01.*60)+39;
Distance_2nd=42.195.*1000;
marathon=(Distance_2nd.*18)./(Time_2nd_question.*5);
disp(marathon);

Categories

Community Treasure Hunt

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

Start Hunting!