Is it possible to make a derivative of an equation with respective to the first derivative . Illustration:
eqn = diff(x) - 2
The expected result is 1 [edited after sir Walters answer] . A workaround is using subs() but is there any other straightforward way to achieve the result?