Need answer to this interview question
If roundtrip driving a car from Office to Home is 60km/h
If the first trip you drive slower at 30km/h , the next trip how fast you must drive to maintain that 60km/h
If roundtrip driving a car from Office to Home is 60km/h
If the first trip you drive slower at 30km/h , the next trip how fast you must drive to maintain that 60km/h
Career Resources
I'd say you must compute the harmonic average like 2/[(1/30)+(1/x)] = 60 and then solve for x, hovever the only solution for this is lim x--> ∞ So I'm curious as well...
I asked my friends they said to warp home haha. If someone can help, I appreciate it a lot
looks like the answer is infinity indeed.
Say that round trip is 60 km long (can be any, just for simplicity).
In order to have and average speed of 60km/h, you need to have your whole roundtrip done in 1 hour
But with 30 km/h only one-way trip will take 1 hour, so the trip back should executed via instant teleportation not to fall below 60 km/h average speed.
the answer is infinitely fast (you should not need to ask a forum for this)
The easy answer would be 90 km/h but you have to take into account the duration of each trip which is different so you don't have to use a simple arythmetic average.
60 = (230x)/(30+x). x is the second trip speed
Yes, the point of the question is that you would have to go infinitely fast; it's a classic.
Dolor in molestiae velit dolor soluta incidunt. Id autem deleniti sint dolor quis. Esse sunt nihil doloremque eligendi at tempora recusandae qui. Unde non et vel enim harum.
See All Comments - 100% Free
WSO depends on everyone being able to pitch in when they know something. Unlock with your email and get bonus: 6 financial modeling lessons free ($199 value)
or Unlock with your social account...