Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The distance of a marathon is 42.2 km. A runner paces himself such that (i) his averagespeed for the first 12 km is 15 km/hr,

The distance of a marathon is 42.2 km. A runner paces himself such that (i) his averagespeed for the first 12 km is 15 km/hr, (ii) he reduces the exertion for the next 15 km withan average speed of 10 km/hr (iii) he increases the speed to 14 km/hr for the next 10 kmand (iv) for the remaining distance, he makes a dash for it by averaging 18 km/hr. Write a python program to calculate and print the time he took to complete the marathon.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

=+(2,5], P1) such that Fc F, and P, agrees with P on $ .

Answered: 1 week ago