I don't see what the issue is with the code below: phinS=e^(i*n*pi*x/a); phim=e^(-i*m*pi*x/a); a=var('a'); assume(a > 0); n=1; m=1; integrate(phinS*phim,x,-a,a)
I get this undecipherable error: Traceback (most recent call last): integrate(phinS*phim,x,-a,a) File "", line 1, in <module> File "/private/var/folders/ql/h8_whzn142g4zv11m77dlh4h0000gn/T/tmpCThsN_/___code___.py", line 3, in <module> phinS=e**(i*n*pi*x/a); File "element.pyx", line 1715, in sage.structure.element.RingElement.__mul__ (sage/structure/element.c:15355) File "coerce.pyx", line 847, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:8326) TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and '<type 'function'>' Any suggestions? Thanks, Chirs -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.