Microsoft Interview Question
Software Engineer / Developers36 hours.
If we consider that in effect it takes 10 hours to revolve 3/4 of the orbit, it will take 3 such revolutions to pass the starting point twice at which time the satellite will be 3/4 of a revolution away from the starting point. It will take 6 more hours to reach the starting point.
So total become 3*10 + 6 = 36
I thought its 24 .... Say A is the start First round takes 8 hours + 2 hours to go back (1/4th...say this is point B) of the orbit. Later 1 round from this point B will take 8 hours ( it will cover A) .... now from B go back 1/4th of the path ..which will take 2 hours... ( till now 8 + 2+ 8 + 2) and now to reach A we need to cover 1/2 of orbit ..this will take 4 hours ...thus to cover point A three times we need 24 hours.... Am I wrong?
Question would have been more interesting had they asked , how much time would it take for 4 cycles, coz then the 4th time, would have come in just 2 hrs and the answer would have been 38..
36 hours...
- helper.h January 10, 20101st circle : 8 hours
1/4 back : 2 hours (Total : 0.75 round)
2nd circle : 8 hours (Total : 1.75 round)
1/4 back : 2 hours (Total : 1.50 round)
3rd circle : 8 hours (Total : 2.50 round)
1/4 back : 2 hours (Total : 2.25 round)
Time taken for last 0.75 round : 3/4*8 = 6 hours (Total : 3 rounds where satellite is continuing beyond the point)
Total time : 8+2+8+2+8+2+6 = 36 hours...