Athematica seems to be asking for more arguments

  • Thread starter Thread starter kel
  • Start date Start date
AI Thread Summary
The discussion centers on inputting a specific astrophysics equation into Mathematica, where the user encounters an error indicating insufficient arguments. The equation involves a function f(x) defined by a differential expression. The user attempts to use the DSolve function but faces issues with Mathematica's syntax, particularly with the differentiation operator. It is clarified that Mathematica does not recognize the symbol "d/dx" and instead requires the use of the D[] operator for differentiation. There is also a suggestion regarding the differentiation process, indicating that the inner bracket should be differentiated first before proceeding with the overall equation.
kel
Messages
62
Reaction score
0

Homework Statement



I'm fairly new to mathematica and have been trying to input the following equation, but keep getting an error message stating that I have only 2 arguments when I need 3 or more.

BTW, this is in relation to astrophysics

Homework Equations



function is:

f(x) = (1 / x^2) d / dx ((x^2) (df^(E-1) / dx))

where ϵ=5/3
and f(0) = 1

The Attempt at a Solution



I've put it into mathematica as

DSolve[{f[x] == ((1/x^2))* (d/dx) (x^2 * df^(ϵ - 1)/dx), x[0] == 1} f[x], x]

I've had do tidy this up a bit as when cutting & pasting mathematica seems to add extra brackets etc.

As I've stated, mathematica seems to be asking for more arguments, but I don't know what else I can add to the equation.

Thanks
 
Physics news on Phys.org
Mathematica does not understand the symbol (d/dx). You need to use the D[] operator to perform differentiation.

- Warren
 
so, I should differentiate the inner bracket first and then add the answer to this in a second differentiation??
 

Similar threads

Replies
1
Views
2K
Replies
1
Views
2K
Replies
4
Views
3K
Replies
5
Views
3K
Replies
1
Views
2K
Back
Top