Reminds me of the time I solved this problem:
A man walks towards his house at 4 miles an hour. At the time he sets off, a fly leaves the man's house, flying at 8 miles an hour. When it reaches the man, it turns around and flies back to the house. It keeps repeating this journey until the man reaches the house an hour later. How far did the fly fly?
I spent ages working out where their paths intersected and how far the fly flew each circuit, ending up with an infinite series. On summing the series, I slapped my head and let out the oh so classic exclamation of "d'oh".
cLive ;-)
PS, for those of you as clueless as me, highlight below:
| The fly flew 8 miles, since the man walked for one hour and the fly flew for one hour. |
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.