Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 14 years ago

mouse gravatar image

OK, after more googling I found a link to manipulating symbolic expressions which seems to cover what I want. Here'tis for any others that may be interested. <url>http://www.sagemath.org/doc/reference/sage/symbolic/relation.html</url>

click to hide/show revision 2
No.2 Revision

updated 14 years ago

Evgeny gravatar image

OK, after more googling I found a link to manipulating symbolic expressions which seems to cover what I want. Here'tis for any others that may be interested. <url>http://www.sagemath.org/doc/reference/sage/symbolic/relation.html</url>interested.

http://www.sagemath.org/doc/reference/sage/symbolic/relation.html

click to hide/show revision 3
No.3 Revision

OK, after more googling I found a link to manipulating symbolic expressions which seems to cover what I want. Here'tis for any others that may be interested.

http://www.sagemath.org/doc/reference/sage/symbolic/relation.html

Good point Evgeny! So here's a simple example

var('x,y,z') assume(z, 'integer') eqn = x == y**z solve(eqn, y)

Note: this will fail without the assume statement (see this response from kcrisman http://ask.sagemath.org/question/318/failure-on-symbolic-solve ).

click to hide/show revision 4
No.4 Revision

OK, after more googling I found a link to manipulating symbolic expressions which seems to cover what I want. Here'tis for any others that may be interested.

http://www.sagemath.org/doc/reference/sage/symbolic/relation.html

Good point Evgeny! So here's a simple example

var('x,y,z') var('x,y,z')

assume(z, 'integer') 'integer')

eqn = x == y**z y**z

solve(eqn, y)

Note: this will fail without the assume statement (see this response from kcrisman http://ask.sagemath.org/question/318/failure-on-symbolic-solve ).