Improving convergence of Andrew's slog
#17
(06/29/2010, 07:54 PM)jaydfox Wrote: If my math isn't wrong, the power series for \( \log_c(z-c) \) is \( a_0 + \sum_{k=1}^{\infty} \frac{-x^k}{c^{k+1}} \)

UPDATE: Yeah, my math was right, but I wrote it down wrong. Here's what I meant (and which I later confirmed):
The power series for \( \log_c(z-c) \) is \( a_0 + \sum_{k=1}^{\infty} \frac{-x^k}{k\,c^{k+1}} \)

The first few terms of which are:

Code:
a_0 +
(0.472565386708 + 0.238338175183*I) x +
(0.124126845264 - 0.147164806491*I) x^2 +
(-0.0555043196549 - 0.075086914615*I) x^3 +
(-0.0468665210317 + 0.0199804139488*I) x^4 + ...

Code for confirming this:
Code:
d = 0.3181315052047641353 + 1.337235701430689409*I;
C = [[-1/(k*d^(k+1)), k] for k in xrange(1, 13)];
print C;

Adding the two series then yields the following code:
Code:
d = 0.3181315052047641353 + 1.337235701430689409*I;
C = [[-1/(k*d^(k+1)) + -1/(k*d.conjugate()^(k+1)), k] for k in xrange(1, 13)];
print C;

A simple way to increase efficiency, noting that the imaginary parts cancel:

Code:
d = 0.3181315052047641353 + 1.337235701430689409*I;
C = [[(-2/(k*d^(k+1))).real(), k] for k in xrange(1, 13)];
print C;
~ Jay Daniel Fox
Reply


Messages In This Thread
RE: Improving convergence of Andrew's slog - by jaydfox - 06/29/2010, 08:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Revisting my accelerated slog solution using Abel matrix inversion jaydfox 22 69,848 05/16/2021, 11:51 AM
Last Post: Gottfried
  sum(e - eta^^k): convergence or divergence? Gottfried 6 25,324 08/17/2010, 11:05 PM
Last Post: tommy1729
  A note on computation of the slog Gottfried 6 26,357 07/12/2010, 10:24 AM
Last Post: Gottfried
  intuitive slog base sqrt(2) developed between 2 and 4 bo198214 1 10,178 09/10/2009, 06:47 PM
Last Post: bo198214
  sexp and slog at a microcalculator Kouznetsov 0 7,305 01/08/2009, 08:51 AM
Last Post: Kouznetsov
  Convergence of matrix solution for base e jaydfox 6 23,159 12/18/2007, 12:14 AM
Last Post: jaydfox
  SAGE code implementing slog with acceleration jaydfox 4 17,406 10/22/2007, 12:59 AM
Last Post: jaydfox
  Dissecting Andrew's slog solution jaydfox 15 45,387 09/20/2007, 05:53 AM
Last Post: jaydfox
  Computing Andrew's slog solution jaydfox 16 48,065 09/20/2007, 03:53 AM
Last Post: andydude



Users browsing this thread: 1 Guest(s)