Mathematica: What is happening?

  • Mathematica
  • Thread starter Saladsamurai
  • Start date
  • #1
3,003
2

Main Question or Discussion Point

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

Answers and Replies

  • #2
3,003
2
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!
 

Related Threads on Mathematica: What is happening?

Replies
3
Views
4K
Replies
4
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
413
Replies
1
Views
1K
Replies
3
Views
2K
Replies
3
Views
4K
Replies
5
Views
2K
Replies
7
Views
3K
  • Last Post
Replies
4
Views
2K
Top