William Rance wrote: > A Pure Mathematician(PM) and an Applied Mathematician(AM) were put in > separate rooms and located 20ft from an Apple.They were informed that > to reach the apple they had to jump 10ft, followed by another jump of > half the distance (5ft) followed by subsequent jumps each of which > would be half the distance of preceding jump. > The PM quickly calculated that no matter how may jumps he made he > could never land at the apple, consequently he did not attempt the > jumps. > The AM however immediately started jumping, as he calculated that > after 5 to 6 jumps he would land close enough to grab the apple. > Happy coding to all. > Bill
Too trivial to bother firing LV up for. You're just halving the jump each time and looking for the summation to lie within two different tolerances of the number 20. Unfortunately you can't prove the PM outcome due to numerical resolution, but I don't think anyone would wait long enough to show this bug. -- Dr. Craig Graham, Software Engineer Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
