On Tue, Oct 27, 2009 at 1:49 PM, Mikie <[email protected]> wrote:
>
> If one enters in Maxima (The windows version). 'integrate(x,x) it
> produces the integral x dx. Does not calculate. So, what I am asking
> how do I do this in Sage? I have tried maxima.'integrate(x,x) and
> many other combinations but they all produce a syntax error. How do I
> do it in Sage?
You might find this example session in some way helpful:
sage: f = sage.calculus.calculus.maxima("'integrate(x,x)")
sage: f
'integrate(x,x)
sage: g = SR(f); g
integrate(x, x)
sage: latex(g)
\int x\,{d x}
sage: sage_eval(str(g), globals())
1/2*x^2
>
>
> On Oct 27, 1:48 pm, William Stein <[email protected]> wrote:
>> On Tue, Oct 27, 2009 at 12:06 PM, Mikie <[email protected]> wrote:
>>
>> > Is there anyway to use maxima's -- '--- in the version of Maxiam in
>> > Sage?
>>
>> I don't understand what you're asking. However, I can say with
>> certainty that the answer is "yes".
>>
>> William
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---