SymPy Gamma logo SymPy Gamma

(exp(x) / (1 + exp(2x))).subs(exp(x), u)
(exp(x) / (1 + exp(2x))).subs(exp(x), u)
can't multiply sequence by non-int of type 'instancemethod'
See what Wolfram|Alpha has to say.

Experiment with SymPy at SymPy Live.