- #1

Saladsamurai

- 3,003

- 6

Ok, I have either completely lost it (very likely) or Mathematica is being weird (much less likely). The finction D[f,x] is supposed to return the partial of f with respect to x, [itex]\partial{f}/\partial{x}[/itex].

So I have a function [itex]V_\theta = (A/r^2 + B)\sin\theta[/itex] where A and B are constants. So we should have [itex]\partial{V_\theta}/\partial{\theta} = (A/r^2 + B)\cos\theta[/itex].

But here is what mathematica is returning. What does that even mean? Why does it just say "sin" and not have the argument? Moreover, why does it not say

So I have a function [itex]V_\theta = (A/r^2 + B)\sin\theta[/itex] where A and B are constants. So we should have [itex]\partial{V_\theta}/\partial{\theta} = (A/r^2 + B)\cos\theta[/itex].

But here is what mathematica is returning. What does that even mean? Why does it just say "sin" and not have the argument? Moreover, why does it not say

*cos*?!