Mathematica: What is happening?

  • Mathematica
  • Thread starter Saladsamurai
  • Start date
  • #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 cos ?!
 

Attachments

  • Screen shot 2011-02-12 at 3.58.41 PM.png
    Screen shot 2011-02-12 at 3.58.41 PM.png
    3.4 KB · Views: 463

Answers and Replies

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

Suggested for: Mathematica: What is happening?

  • Last Post
Replies
3
Views
4K
Replies
1
Views
142
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
7
Views
15K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
7
Views
3K
  • Last Post
Replies
2
Views
1K
Mathematica Mathematica issue
  • Last Post
Replies
4
Views
2K
Top