Dear all,

I'm sorry I have yet again something to bother you with. Running the
following few lines:

eq=5-e^x
print "1:",eq.substitute(x=3*x)
print "2:",eq.substitute(x=log(x))

yields the output (Sage 4.5.2 with Ubuntu):

1: -e^(3*x) + 5
2: -log(x) + 5

So 1 is fine, but it seems that to get to 2 Sage actually substitutes
twice no: 5-e^x -> 5-x -> 5-log(x). I had expected it would just give
me 5-x rather, is it a bug or a feature?

Thanks again, Kees

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to