check if symbolic expression contains a given variable
Is there a function or method that tests a symbolic expression <type 'sage.symbolic.expression.expression'=""> to see if it contains a particular variable?
For example to test y(x) == -3/(x^3 + 3c + 3x) to see if it contains the variable c.
(I'm trying to write a a program to automatically plot the return value of the differential equation function desolve(), and it would help to be able to detect if the return expression contains the 'arbitrary constant' c.)
Asked: May 04 '12
Seen: 120 times
Last updated: May 04 '12
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.