Revert isn't working for me...



I am implementing the reversion algorithm mentioned in:
http://www2.newpaltz.edu/~dominicd/NESTED14.pdf

If you are interested in a crude form (I am inexperienced at writing Maxima
programs) and willing to feedback comments; I will send you a copy.

Ray


>Subject: Revert isn't working for me...

>I need to use the REVERT function but I can't get it working:

>(C67) REVERT( taylor(x/cos(x),x,0,5), x );
>Division by 0
>#0: REVERT(exp=x+x3/2+5*x5/24,t=x)(revert.mac line 4)
>#1: REVERT(exp=x+x3/2+5*x5/24,)
>#2: REVERT2(exp=x+x3/2+5*x5/24,var=x,)
>  -- an error.  Quitting.  To debug this try DEBUGMODE(TRUE);)

>(C68) REVERT2( taylor(x/cos(x),x,0,5), x, 10 );
>Array V has dimensions [10], but was called with [k]
>#0: REVERT2(exp=x+x3/2+5*x5/24,var=x,n=10)(revert.mac line 15)
>#1: REVERT(exp=x+x3/2+5*x5/24,)
>#2: REVERT2(exp=x+x3/2+5*x5/24,var=x,)
>  -- an error.  Quitting.  To debug this try DEBUGMODE(TRUE);)

>What am I doing wrong?
>-- 
>edA-qa mort-ora-y