Click here to Skip to main content
15,896,444 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Smart K827-May-16 2:49
professionalSmart K827-May-16 2:49 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Chris Quinn27-May-16 3:23
Chris Quinn27-May-16 3:23 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Jörgen Andersson27-May-16 3:00
professionalJörgen Andersson27-May-16 3:00 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
908236527-May-16 3:43
908236527-May-16 3:43 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Sander Rossel27-May-16 3:22
professionalSander Rossel27-May-16 3:22 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
phil.o27-May-16 3:32
professionalphil.o27-May-16 3:32 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Shvetsov Evgeniy27-May-16 3:39
professionalShvetsov Evgeniy27-May-16 3:39 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Ian Shlasko27-May-16 6:18
Ian Shlasko27-May-16 6:18 
Easy way is easy... 80 miles (It's obviously a robotic mosquito)... Hard way is more interesting... And distracts me from the air conditioner that's trying to freeze me to my desk.

I wrote a solver (If you could call it that) in Excel...
s = Position of slow bike (Starts at 0, increases)
f = Position of fast bike (Starts a 100, decreases)

Trip 1:  
  Time = (f - s) / (20 + 15) = 2.8571429
  s = 28.57143, f = 57.14286
  Distance Traveled = 57.14286
Trip 2:
  Time = (f - s) / (20 + 10) = 0.952381
  Total Time = 3.809524
  s = 38.09524, f = 42.85714
  Distance Traveled = 76.19048
Trip 3:
  Time = (f - s) / (20 + 15) = 0.1360544
  Total Time = 3.945578
  s = 39.45578, f = 40.81633
  Distance Traveled = 78.91156
Trip 4:
  Time = (f - s) / (20 + 10) = 0.0453515
  Total Time = 3.99093
  s = 39.9093, f = 40.13605
  Distance Traveled = 79.81859
Trip 5:
  Time = (f - s) / (20 + 15) = 0.0064788
  Total Time = 3.997408
  s = 39.97408, f = 40.03887
  Distance Traveled = 79.94817

And so on... Next iteration it hits 79.99136, then 79.99753... Excel starts rounding to "80" on the 12th iteration.

By the end, the mosquito is just vibrating between the bikes... It would oscillate faster and faster, which would of course start to generate heat. Thermodynamics, right? Since this converges over infinity, the vibrations will just increase infinitely, which means more and more energy... And eventually it would turn into a miniature star, then a singularity, and then all of space/time would collapse.

Either that, or it would just get squished between the tires.

(Channeling my inner Randall... He must have done this in 'What If' by now...)
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
Bassam Abdul-Baki31-May-16 5:07
professionalBassam Abdul-Baki31-May-16 5:07 
GeneralRe: Are You Smarter Than a(n advanced) Sixth-Grader Pin
ledtech327-May-16 7:46
ledtech327-May-16 7:46 
GeneralProgramming Question of the Week? Pin
megaadam27-May-16 0:30
professionalmegaadam27-May-16 0:30 
GeneralRe: Programming Question of the Week? Pin
OriginalGriff27-May-16 0:40
mveOriginalGriff27-May-16 0:40 
GeneralRe: Programming Question of the Week? Pin
Amarnath S27-May-16 1:10
professionalAmarnath S27-May-16 1:10 
GeneralRe: Programming Question of the Week? Pin
Richard Deeming27-May-16 1:14
mveRichard Deeming27-May-16 1:14 
GeneralRe: Programming Question of the Week? Pin
Marc Clifton27-May-16 3:02
mvaMarc Clifton27-May-16 3:02 
GeneralRe: Programming Question of the Week? Pin
  Forogar  27-May-16 3:19
professional  Forogar  27-May-16 3:19 
GeneralRe: Programming Question of the Week? Pin
megaadam27-May-16 3:43
professionalmegaadam27-May-16 3:43 
GeneralRe: Programming Question of the Week? Pin
Ravi Bhavnani27-May-16 3:27
professionalRavi Bhavnani27-May-16 3:27 
GeneralRe: Programming Question of the Week? Pin
Stefan_Lang30-May-16 0:11
Stefan_Lang30-May-16 0:11 
GeneralNew C# project Pin
Nagy Vilmos26-May-16 22:57
professionalNagy Vilmos26-May-16 22:57 
GeneralRe: New C# project Pin
Johnny J.26-May-16 23:07
professionalJohnny J.26-May-16 23:07 
GeneralRe: New C# project Pin
Nagy Vilmos26-May-16 23:10
professionalNagy Vilmos26-May-16 23:10 
GeneralRe: New C# project Pin
Johnny J.26-May-16 23:14
professionalJohnny J.26-May-16 23:14 
GeneralRe: New C# project Pin
Nagy Vilmos26-May-16 23:19
professionalNagy Vilmos26-May-16 23:19 
GeneralRe: New C# project Pin
Jacquers26-May-16 23:14
Jacquers26-May-16 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.