Hi

(should this thread be on sage-devel?)

On 16 September 2012 08:08, Robert Dodier <robert.dod...@gmail.com> wrote:

> On 2012-09-16, kcrisman <kcris...@gmail.com> wrote:
>
> > I don't have access to a Maxima instance right now - can someone try to
> > recreate this there?
>
> For the record, here's what I get w/ Maxima 5.28.0 (current release).
>
> (%i1) u : 1.2 $
> (%i2) m : 0.5 $
> (%i3) jacobi_sn (u, m);
> (%o3)                          .8877154886192781
> (%i4) jacobi_sn (u + 2 * %i * elliptic_kc (1 - m), m);
> (%o4)             0.88771548861928 - 1.884363664625109E-15 %i
>
>
I get the same result in maxima 5.24, the stock version on Ubuntu 12.04.
0 jan@muizenberg:/var/autofs/misc/home/jan$maxima

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
(%i5)

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))
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (8886, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (8886, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (8886, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (8886, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (8886, 0))

^C
KeyboardInterrupt
sage:


 Can some one test this code on a sage which includes maxima 5.24?
>From http://maxima.sourceforge.net/ looks like that might be sage 4.8.

And can someone test this code on a standalone maxima 5.26?

Regards,
Jan

-- 
  .~.
  /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