Taylor series of elliptic_kc(m) about m=0 fails with error
Subject: Taylor series of elliptic_kc(m) about m=0 fails with error
From: Dan
Date: Tue, 18 Sep 2012 17:19:33 +0100 (BST)
On Tue, 18 Sep 2012, Robert Dodier wrote:
On 2012-09-18, David Billinghurst <dbmaxima at gmail.com> wrote:
> Taylor series of elliptic_kc(m) about m=0 fails with
> maxima-5.28.0/gcl/windows and clisp/windows.
>
> taylor(elliptic_kc(m),m,0,1);
That Taylor series needs the first derivative of elliptic_kc(m)
evaluated at m = 0, so this might be relevant:
(%i1) display2d : false ;
(%o1) false
(%i2) diff(elliptic_kc(m),m) ;
(%o2) ('elliptic_ec(m)-(1-m)*'elliptic_kc(m))/(2*(1-m)*m)
(%i3) subst(m = 0,%) ;
expt: undefined: 0 to a negative exponent.
-- an error. To debug this try: debugmode(true);