s/w engineer

Posted on 2006-04-23
Last Modified: 2006-11-18
A software engineer starts from home at 3pm for evening walk. He walkspeed of 4kmph on level ground and then at a Speed of 3kmph on the uphill and then downhill at a speed of 6kmph to the level ground and then at a speed of 4kmph to the Home at 9pm.
what is the distance on one way?

Question by:shilpi84
    LVL 53

    Expert Comment

    There are too many variables to solve this riddle, or important information is missing ...

    Does he take the same road back ?
    How far does he go uphill/downhill ?

    Author Comment

    yes he takes the same road back and rest i dont know.we will have 2 take average speed?
    LVL 53

    Expert Comment

    You can't take the average speed if you don't know what part of the distance was uphill.

    If the distance uphill is the same as the distance between his home and the hill, then here's the solution :

    (((4 + 3 + 6 + 4) / 4) * 6) / 2

    Or :

    12,75 km
    LVL 100

    Accepted Solution

    Since time uphill is twice the time downhill but distance is the same

    Calculate the average speed for time spent walking up then down
    U - Time spent walking up hill
    P - Time spent going down hill
    U = 2P

    distance walked uphill then down
    3kmph * U + 6kmph * P
    3kmph * 2P + 6kmph * P
    6kmph * 2P
    12kmph * P

    Time spent walking up then down
    U + P = 2P + P = 3P

    Average speed for the uphill then downhill
    Distance / Time

    (12kmph * P) / 3P

    Thus he average 4kmph for the trip of 6 hours regardless of the distance walked Level, Uphill or Downhill
    so he walked 24 km

    LVL 53

    Expert Comment

    Ignore my solution !!! It's wrong !! mlmcc's solution is the correct one !
    LVL 100

    Expert Comment

    I had the same thought at first until I tried an example and it came out at 24 km.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Title # Comments Views Activity
    Math challenge 19 586
    Nickel Bars from Ebay 14 306
    What is the name of the artist? 5 416
    Listen closely 6 344
    This post first appeared at Oracleinaction  ( Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
    I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now