Mathematica: What is happening?

  • Mathematica
  • Thread starter Saladsamurai
  • Start date
  • Tags
    Mathematica
In summary, the conversation involves confusion over the function D[f,x] in Mathematica and its output for a given function V_\theta. The intended result is \partial{V_\theta}/\partial{\theta} = (A/r^2 + B)\cos\theta, but the output only shows "sin" without the argument and no mention of "cos". However, after realizing two mistakes (capital "S" in Sin and missing square brackets for Sin[theta]), the issue is resolved and all is good again in the world of Wolfram.
  • #1
Saladsamurai
3,020
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: 500
Physics news on Phys.org
  • #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 to Mathematica: What is happening?

1. What is Mathematica?

Mathematica is a software program developed by Wolfram Research that allows users to perform complex mathematical and computational tasks. It is widely used in fields such as physics, engineering, and finance.

2. How does Mathematica work?

Mathematica uses a symbolic language and advanced algorithms to perform mathematical computations. It also has a user-friendly interface that allows users to input equations and perform operations with ease.

3. What kind of tasks can be performed with Mathematica?

Mathematica can perform a wide range of tasks, including solving equations, graphing functions, performing calculus and linear algebra operations, and creating interactive visualizations and animations.

4. Is Mathematica suitable for beginners?

While Mathematica can be daunting for beginners due to its advanced features, it also has a user-friendly interface and offers various resources such as tutorials and documentation to help beginners get started.

5. How is Mathematica different from other mathematical software?

Mathematica is unique in its ability to handle symbolic computations and its vast library of built-in functions and algorithms. It also offers a wide range of visualization options and has a user-friendly interface compared to other mathematical software.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
419
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
414
  • MATLAB, Maple, Mathematica, LaTeX
Replies
19
Views
581
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
6K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
981
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • Special and General Relativity
Replies
14
Views
953
Back
Top