home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.parallel
- Path: sparky!uunet!gatech!hubcap!fpst
- From: leo@nas.nasa.gov (Leo Dagum)
- Subject: Re: Synchonizing watches
- Message-ID: <1992Sep3.201927.25562@hubcap.clemson.edu>
- Apparently-To: comp-parallel@ames.arc.nasa.gov
- Sender: news@nas.nasa.gov (News Administrator)
- Organization: NAS, NASA Ames Research Center, Moffett Field, CA
- References: <1992Sep3.123226.14205@hubcap.clemson.edu>
- Date: Thu, 3 Sep 92 19:54:44 GMT
- Approved: parallel@hubcap.clemson.edu
- Lines: 24
-
- In article <1992Sep3.123226.14205@hubcap.clemson.edu> steve@hubcap.clemson.edu ("Steve" Stevenson) writes:
- >[I saw this on sci.logic. I thought it was a nice problem for this group.
- > steve]
- >>From: dougs@tvnews.tv.tek.com (Doug Stevens)
- >>Message-ID: <1992Sep1.234452.26917@tvnews.tv.tek.com>
- >
- >[....]
-
- Unless I'm missing something, this is fairly straightforward.
-
- 1) A zeroes watch, calls B and hangs up.
- 2) B waits till phone ends ringing then calls A and hangs up.
- 3) B calls A again and hangs up.
- 4) A times the first call back, and now knows (AB + BA), when he gets
- the second call back, he now knows BA as well (and therefore AB).
- 5) A sets his watch back by AB, and calls B
- 6) B picks up the phone and zeroes his watch, they now have (approximately)
- synchronized watches.
- 7) Bob's your uncle.
-
-
- Leo Dagum
- NASA Ames Reseach Center
-
-