I've tried lots of variations of the following to replace a product of
functions with y. They all give the error at the bottom in Sagecell. How
fix?
var("y")
f = function("f")(x)
g = function("g")(x)
eqtn = f(x) * g(x) + 4*f(x)^2 * g(x) == 0
eqtn = eqtn.substitute({f(x) * g(x) : y})
show(eqtn)
/home/sc_serv/sage/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py:2881:
DeprecationWarning: Substitution using function-call syntax and unnamed
arguments is deprecated and will be removed from a future release of Sage;
you can use named arguments instead, like EXPR(x=..., y=...)
See http://trac.sagemath.org/5930 for details.
exec(code_obj, self.user_global_ns, self.user_ns)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.