The equations I am working with in this problem contain exponentials. For this reason, after differentiating they appear again pretty much unchanged apart from additional constants and other factors. I was wondering if it might be possible to collect those exponentials back into the name of the expression they where part of. Here is an example:
Given this function definition
f:= x -> A*exp(B/x)
After differentiating, one would get
A*exp(B/x)*(-B/x^2)
And it would be great if I could somehow convert it to
f(x)*(-B/x^2)
Is this possible with MuPad or any other CAS package?
simplify
command in mupad, and you can tell the function in wich way (like polinomial and other stuff).Probably simply commadn would return the same "type" of equation, so the result may be comparable by strings. Not sure it would work, and if it does probably would not work 100% times, but it would be a pretty good aproach – Gravestone