2
votes
2answers
310 views

Write a function that returns the logarithmic derivative

How can we write a function that if we input an expression f, it returns the log derivative $\frac{1}{f} \frac{df}{dx}$. We have to use a conditional or pattern test so that the function accepts any ...
0
votes
1answer
174 views

Why does “Pattern(1,0)[w,_]” show up in the resulting expression of a differentiation? [closed]

I would like to differentiate the function s, and be able to evaluate it for different w afterwards. I tried the following: ...