This question already has an answer here:
What I am asking could seem simple but I couldn't find a solution nor here nor in google.
I want to take the derivative of a function by another function. Let say I have two functions of time
x[t] (and some other parameters). In my code they both have a certain dependence on
t. I would like to derive
x and have the result expressed in function of time as well. Something like
D[y[t], x[t]]. I know that I could simply calculate
D[y[t], t] / D[x[t], t].
But isn't there a more direct way? Just out of curiosity ...