Re: Mathematical models for loop calculations
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Thu, 27 Sep 2007 02:55:48 +0000
Mike said:
<snip>
Shouldn't that be: x + x+1 + x+2 + x+3 + x+4 + ... + x+n = n * ( n + 1 )
/ 2 + n * x or = n * ( n + 1 + 2 * x ) / 2.
Entirely possible. Apologies for my lack of (a) care in the original reply
and (b) botheredness about the correction. In my defence, I was sketching
a solution rather than painting one, if you see what I mean - but the case
for the prosecution will no doubt point out that I should have made this
clear at the outset. Mea culpa.
<snip>
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- References:
- Mathematical models for loop calculations
- From: Tim Frink
- Re: Mathematical models for loop calculations
- From: Richard Heathfield
- Re: Mathematical models for loop calculations
- From: Tim Frink
- Re: Mathematical models for loop calculations
- From: Richard Heathfield
- Re: Mathematical models for loop calculations
- From: Mike
- Mathematical models for loop calculations
- Prev by Date: Re: Mathematical models for loop calculations
- Next by Date: Re: Looking for programming examples in any programming language
- Previous by thread: Re: Mathematical models for loop calculations
- Next by thread: shared objects with C++
- Index(es):
Relevant Pages
|