[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classic game LUNAR and G=1E-03



John B. Matthews wrote:
In article <H7mdnd0vhda2wn3WnZ2dnUVZ_qmdnZ2d@giganews.com>,
 "Michael J. Mahon" <mjmahon@aol.com> wrote:

BTW, does anyone recognize these power series?  The first is:

     Sum (n=1 to 5) (x^n/n)

This looks like the Maclaurin series for -ln(1 - x):

Excellent!

So line 420 could be more efficiently (and more accurately)
written as:

420 Q=S*K/M: J=V+G*S+Z*log(1-Q)

-michael

NadaNet 3.0 for Apple II parallel computing!
Home page:  http://home.comcast.net/~mjmahon/

"The wastebasket is our most important design
tool--and it's seriously underused."