The equations I work with in this problem contain exponentials. For this reason, after differentiation, they appear again almost without changes, except for additional constants and other factors. I was wondering if it is possible to collect these exhibitors back into the name of the expression in which they are located. Here is an example:
Given this definition of function
f:= x -> A*exp(B/x)
After differentiation, it would turn out
A*exp(B/x)*(-B/x^2)
And it would be great if I could somehow convert it into
f(x)*(-B/x^2)
Is this possible with MuPad or any other CAS package?
source share