Mathematica: What is happening?

  • Context: Mathematica 
  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
Saladsamurai
Messages
3,009
Reaction score
7
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 cos ?!
 

Attachments

  • Screen shot 2011-02-12 at 3.58.41 PM.png
    Screen shot 2011-02-12 at 3.58.41 PM.png
    2.8 KB · Views: 571
Physics news on Phys.org
Got it! 2 mistakes on my part :redface: capital 's' in Sin and square brackets Sin[theta].

All is good again in the world of Wolfram!