Computer Science, asked by saumya8587, 2 months ago

Mukta has to travel a distance of 250 kilometre per hour by car he knows that the speed limit is 80 kilometre per hour but due to traffic condition the average speed is 40 kilometre per hour write a python script to find out how much time it will take to cover the distance​

Answers

Answered by Shivali2708
6

Given:

speed limit is 80km/hr

Distance=250km

Speed limit=80km/hr

Average speed=40km/hr

This means there may be fluctuations in speed but on an average the speed maintained is 40km/hr.

Time = dist. / speed

So we take avg speed

Distance=250

Avgspeed=40

Time=Distance/Avgspeed

Here we input the

Distance

And

Average speed

So as from basic formula we derive

Time taken to reach destination is 6.25 hours.

Similar questions