The command sum( ((-1)^k*(x^(2*k+1))/factorial(2*k+1)),k,0,oo) should give sin(x) - it does in Mathematica. But in Sage it gives
1/2*sqrt(pi)*sqrt(2)*sqrt(x)*bessel_j(1/2, x) which can't be evaluated numerically: _(x=3).N() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_4.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Xyh4PTMpLk4oKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in <module> File "/tmp/tmpMc56sG/___code___.py", line 3, in <module> exec compile(u'_(x=_sage_const_3 ).N() File "", line 1, in <module> File "expression.pyx", line 4319, in sage.symbolic.expression.Expression._numerical_approx (sage/symbolic/expression.cpp:20837) TypeError: cannot evaluate symbolic expression numerically What am I missing here? I am using Sage 5.3. Thanks! -- Renan Birck Pinheiro - Grupo de Microeletrônica Engenharia Elétrica - UFSM - Santa Maria, Brasil http://renanbirck.blogspot.com - +55 55 91162798 -- 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.