Mega Search
23.2 Million


Sign Up

Make a donation  
Re: [C] Reading and arithmetic with getchar()  
News Group: alt.comp.lang.learn.c-c++

In article <_a2dnV5mWcZIi_iiU-KYgg@comcast.com>, glabowitz@comcast.net 
says...

[ ... ]

> Oy, vay. This wandered off into fantasy land, as far as I'm concerned. It
> reminds me of a puzzle that was published once:
> If a race car goes around the track once at X miles per hour, how fast must
> it travel on the second lap to make its average speed 1/2 the speed of its
> first lap?
> The answer, of course, is infinite speed,

I think you meant double instead of half -- to halve the average, the 
second lap will be 1/3rd the speed of the first (then, total, you've 
driven twice as far in 4 times as long, 2/4=1/2).

-- 
    Later,
    Jerry.

The universe is a figment of its own imagination.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2003, at 2:29 AM EST
From: Jerry Coffin
 
Re: [C] Reading and arithmetic with getchar()  
News Group: alt.comp.lang.learn.c-c++
"Jerry Coffin"  wrote in message
news:MPG.19ced254bb0b0d389896d7@news.west.earthlink.net...
> In article <_a2dnV5mWcZIi_iiU-KYgg@comcast.com>, glabowitz@comcast.net
> says...
>
> [ ... ]
>
> > Oy, vay. This wandered off into fantasy land, as far as I'm concerned.
It
> > reminds me of a puzzle that was published once:
> > If a race car goes around the track once at X miles per hour, how fast
must
> > it travel on the second lap to make its average speed 1/2 the speed of
its
> > first lap?
> > The answer, of course, is infinite speed,
>
> I think you meant double instead of half -- to halve the average, the
> second lap will be 1/3rd the speed of the first (then, total, you've
> driven twice as far in 4 times as long, 2/4=1/2).

Ah, so.
-- 
Gary



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Sep-2003, at 8:16 AM EST
From: Gary Labowitz
 
Re: [C] Reading and arithmetic with getchar()  
News Group: alt.comp.lang.learn.c-c++
In article <_a2dnV5mWcZIi_iiU-KYgg@comcast.com>, glabowitz@comcast.net 
says...

[ ... ]

> Oy, vay. This wandered off into fantasy land, as far as I'm concerned. It
> reminds me of a puzzle that was published once:
> If a race car goes around the track once at X miles per hour, how fast must
> it travel on the second lap to make its average speed 1/2 the speed of its
> first lap?
> The answer, of course, is infinite speed,

I think you meant double instead of half -- to halve the average, the 
second lap will be 1/3rd the speed of the first (then, total, you've 
driven twice as far in 4 times as long, 2/4=1/2).

-- 
    Later,
    Jerry.

The universe is a figment of its own imagination.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 14-Sep-2003, at 10:29 PM EST
From: Jerry Coffin