On Sat, Mar 31, 2012 at 2:01 PM, William Stein <wst...@gmail.com> wrote:
> On Sat, Mar 31, 2012 at 9:35 PM, leif <not.rea...@online.de> wrote:
>> On 31 Mrz., 22:13, Volker Braun <vbraun.n...@gmail.com> wrote:
>>> On Saturday, March 31, 2012 7:11:23 PM UTC+1, kcrisman wrote:
>>>
>>> > therefore lack the “structural beauty” of the Mathematica® language.
>>>
>>> Well-placed irony quotation marks!
>>
>> :-)
>>
>> "The core of Mathics is and shall remain independent of Sage, as it
>> adds a huge footprint to the installation and Mathics should remain
>> rather lightweight. In addition, it should be easier to install
>> Mathics on Windows and mobile platforms where Sage is not available.
>> That's why the light-weight SymPy Python package is prefered for
>> advanced calculations, like integration, that will not be implemented
>> in Mathics itself."
>>
>> Subject to change [Windows and mobile platforms]... (?)
>
> This is pretty nice.
>
> I used it for some basic mathematica-like stuff, and it seemed to work
> fine.  I did try an integral though:
>
>  Integrate[Sin[x]*Cos[x+1],x]
>
> and I seem to be able to count to 10 before getting the answer, even
> if I retry it several times in the session.  That
> seems surprisingly slow, given:
>
> sage: time integrate(sin(x)*cos(x+1), x)
> -1/2*x*sin(1) - 1/4*cos(2*x + 1)
> Time: CPU 0.01 s, Wall: 0.01 s
> sage: time integrate(sin(x)*cos(x+1), x, algorithm='sympy')
> -1/2*x*sin(x + 1)*cos(x) + 1/2*x*sin(x)*cos(x + 1) + 1/2*sin(x + 1)*sin(x)
> Time: CPU 0.53 s, Wall: 0.53 s

Indeed, Maxima seems to be really fast on these integrals. Does anyone
know how Maxima does it? Does it use
some special integration algorithm for trigonometric integrals?

Ondrej

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to