Hi

I can also do this (Note the only change I -> %i):

sage: maxima("jacobi_sn(1.2 + 3.7081493546*I, 0.500000000000000)")
jacobi_sn(3.7081493546*I+1.2,0.5)
sage: maxima("jacobi_sn(1.2 + 3.7081493546*%i, 0.500000000000000)")
.8877154886192803-9.851415480779732e-13*%i
sage:

Regards,
Jan





On 20 November 2012 09:25, Justin C. Walker <jus...@mac.com> wrote:

>
> On Nov 19, 2012, at 22:36 , Jan Groenewald wrote:
>
> > On 16 September 2012 08:08, Robert Dodier <robert.dod...@gmail.com>
> wrote:
> >
> >> On 2012-09-16, kcrisman <kcris...@gmail.com> wrote:
>
> Using Mac OS X, 10.6.8.  Sage 4.8 has maxima 5.23 (maxima-5.23.2.p3.spkg);
> 5.0-beta2 has maxima 5.26.
>
> > Maxima 5.24.0 http://maxima.sourceforge.net
> > using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL)
> > Distributed under the GNU Public License. See the file COPYING.
> > Dedicated to the memory of William Schelter.
> > The function bug_report() provides bug reporting information.
> > (%i1) u : 1.2 $
> > (%i2) m : 0.5 $
> > (%i3) jacobi_sn (u, m);
> > (%o3)                          0.88771548861928
> > (%i4) jacobi_sn (u + 2 * %i * elliptic_kc (1 - m), m);
> > (%o4)            0.88771548861928 - 1.7301614091485549E-15 %i
>
> I get (maxima 5.26) 0.88771548861928 - 1.7919528880467195e-15 %i
>
>
> > Either that was a regression specifric to maxima 5.26, or this problem is
> > particular
> > to the sage interface to maxima. Original problem:
> >
> > 0 jan@muizenberg:/var/autofs/misc/home/jan$sage
> > ----------------------------------------------------------------------
> > | Sage Version 5.4, Release Date: 2012-11-09                         |
> > | Type "notebook()" for the browser-based notebook interface.        |
> > | Type "help()" for help.                                            |
> > ----------------------------------------------------------------------
> > sage: u=1.2
> > sage: m=0.5
> > sage: jacobi('sn',u,m)
> > 0.887715488619
> > sage: jacobi('sn',u+2*I*elliptic_kc(1-m),m)
> > jacobi_sn(1.2 + 3.7081493546*I, 0.500000000000000)
> > sage: n(jacobi('sn',u+2*I*elliptic_kc(1-m),m))
>
> With sage-5.0-beta2, the above is duplicated, except that the last line
> has been going (and going, and ...) for several minutes now, with no signs
> of abating.  It's adding small increments of memory, second by second...
>
> Justin
>
> --
> Justin C. Walker, Curmudgeon at Large
> Institute for the Absorption of Federal Funds
> -----------
> Like the ski resort full of girls hunting for husbands
> and husbands hunting for girls, the situation is not
> as symmetrical as it might seem.
>   - Alan MacKay
> --
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To post to this group, send email to sage-support@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support?hl=en.
>
>
>


-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to