Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

See the very similar question about R here.

Cell 1:

%maxima
a:25

Cell 2:

A = maxima('a')._sage_()
A+2

yielding 27. Is this what you are looking for? (Note that if the answer includes any dummy variables like z266 then you may need to make Sage var('z266')-type declarations.)