if i leave my house at 6:52 am and run 1 mile at an easy pace (8:15 per mile), then 3 miles at tempo (7:12 per mile), and 1 mile at easy pace again, what time do i get home for breakfast?
Answers
Answer:
7: 30 A.M.
Explanation:
1 mile at easy pace = 8 min 15 s
1 mile at tempo pace = 7 min 12 s
No. of miles ran at easy pace = 2
No. of miles ran at tempo pace = 3
Total number of miles ran = 5
So,
Time taken to run at easy pace = 2 x 8 min 15 s
= 16 min 30 s
Time Taken to run at Tempo pace = 3 x 7 min 12 s
= 21 min 36 s
Total Time taken to run 5 miles = 16 min 30 s + 21 min 36 s
= 38 min 6 s
Time of breakfast = 6 h 52 min 0 s + 0 h 38 min 6 s
= 7 h 30 min 6 s
= 7: 30 A.M. (Rounded Off)
Hope this satisfies you.
Answer:
from datetime import datetime, timedelta, time , date
time_left_house = datetime.combine(date.today(), time(hour = 6, minute = 52))
miles_run_easy_pace = 2 * timedelta(minutes = 8, seconds = 15)
miles_run_fast_pace = 3 * timedelta(minutes = 7, seconds = 12)
total_time_run = time_left_house + miles_run_easy_pace + miles_run_fast_pace
print("total_time_run :",total_time_run)