Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Mathematica 9.0 on Ubuntu.

I tried the first example from this documentation page, but it returns unevaluated:


NDSolve`ImplicitRungeKuttaGaussCoefficients[4, 50]

(* ==> NDSolve`ImplicitRungeKuttaGaussCoefficients[4, 50] *)

What is the problem ?

share|improve this question
You may have a broken installation. First restart Mathematica and try again. If that doesn't solve the problem, please evaluate $Path in a newly started Mathematica instance and update your question with the result. Also post the precise error message you get when you evaluate these Needs. – Szabolcs Dec 6 '13 at 18:41
Advanced thanks for post. But, I don't get any error after proccessing Needs. – drxy Dec 6 '13 at 20:21
And my $Path results are as follows "/usr/local/Wolfram/Mathematica/9.0/SystemFiles/Links", \ "/root/.Mathematica/Kernel", "/root/.Mathematica/Autoload", \ "/root/.Mathematica/Applications", "/usr/share/Mathematica/Kernel", \ "/usr/share/Mathematica/Autoload", \ "/usr/share/Mathematica/Applications", ".", "/root", – drxy Dec 6 '13 at 20:22
"/usr/local/Wolfram/Mathematica/9.0/AddOns/Packages", \ "/usr/local/Wolfram/Mathematica/9.0/AddOns/LegacyPackages", \ "/usr/local/Wolfram/Mathematica/9.0/SystemFiles/Autoload", \ "/usr/local/Wolfram/Mathematica/9.0/AddOns/Autoload", \ "/usr/local/Wolfram/Mathematica/9.0/AddOns/Applications", \ "/usr/local/Wolfram/Mathematica/9.0/AddOns/ExtraPackages", \ "/usr/local/Wolfram/Mathematica/9.0/SystemFiles/Kernel/Packages", – drxy Dec 6 '13 at 20:23
"/usr/local/Wolfram/Mathematica/9.0/Documentation/English/System", \ "/usr/local/Wolfram/Mathematica/9.0/SystemFiles/Data/ICC"} – drxy Dec 6 '13 at 20:23
up vote 7 down vote accepted

This example works in version 8, but in version 9 it does indeed fail to evaluate.

I did a little bit of spelunking to find out why. It turns out that in version 9 this function (as well as related ones) takes a third argument. I believe this third argument is just a symbol that will be used as the head in any messages that might be reported. Maybe this change was done because version 9 has four different NDSolve-related functions (compared to v8): NDSolve, NDSolveVaule, ParametricNDSolve and ParametricNDSolveValue.

The simple workaround is to just pass NDSolve as the third argument:

NDSolve`ImplicitRungeKuttaGaussCoefficients[4, Infinity, NDSolve]

(* ==> {{{1/4, 1/12 (3 - 2 Sqrt[3])}, {1/12 (3 + 2 Sqrt[3]), 1/4}}, {1/2, 1/2}, {1/6 (3 - Sqrt[3]), 1/6 (3 + Sqrt[3])}} *)
share|improve this answer
Very very very much thanks to solve my problem. You approach my mistakes very kindly. So thanks again. – drxy Dec 7 '13 at 13:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.