<Moderator note: moved from technical forums, so no template>
Problem: Two trains (A and B) are moving along parallel tracks at different speeds. A person sitting on train A looks out the window and sees two things happen: a firecracker explodes right outside his window, and, exactly 1.0...