Thomas Richard

Mr. Thomas Richard

2273 Reputation

12 Badges

11 years, 216 days
Maplesoft Europe GmbH
Technical professional in industry or government
Aachen, North Rhine-Westphalia, Germany

MaplePrimes Activity

These are answers submitted by Thomas Richard

This depends on the operating system. Since chmod is a Unix command, you will find it on Linux and Mac OS X only, but not on Windows (unless you install Unix-like add-ons, which is not the case by default).

So I'm not aware of any genuine Maple features for that purpose.

However, you can query some basic permissions (read, write, execute) as well as modification time via appropriate FileTools package commands (preferrably the Status command).

Depending on what you want to achieve, it may be better to put the chmod call and the maple command into a common shell script. Just an idea...


Side remark: as you may have noticed in the replies, Maple expects Pi, not pi.

My recommendation for simplifying algebraic numbers or algebraic functions such as A and B is always the evala command. It is more generic than radnormal and expand (both of which have their benefits, too).

The error seems to be related to the floating-point number 6.05. If you replace it by a rational number like this:

Rf := 605/100;
Bc_s := k_s*eval(Gradient(T_s(r, theta), polar[r, theta])[1], r = Rf) = h_f*(T_s(Rf, theta) - T_f);

it goes away - but pdsolve finds no solution, as has been observed already.

For consistency reasons, you may also want to replace 5 by Ra and 6 by Rc in the other Bc settings.

Just end the line with a colon, as opposed to a semicolon. Displaying the table is (technically speaking) a side effect of the Tabulate command. Its main effect is returning a value, which is unwanted here. See the 2nd item of the Description section on the help page.

Just adding a hint to vv's answer: you can also let Maple do the transform:

VectorCalculus:-int(exp(-(sqrt(4*x^2+4*y^2+4*z^2)^3)), [x,y,z] = Sphere( <0,0,0>, 2, [r,phi,theta]), 'inert');
simplify(%); # optionally

If you want to see the result and no intermediate steps, simply omit the 'inert' option.

Multiple commands can be entered in one line; just make sure they are separated by semicolon (displaying output) or colon (suppressing output).

w2:=sin(x)^2+cos(x)^2: simplify(w2);


For the order, we have PDEtools:-difforder, which also works for ODEs. AFAIK, it was implemented in PDEtools due to its more generic nature.

For the degree, you will have to construct something, perhaps by converting the ODE into a polynomial and then calling degree.

AFAIR, the menu item is for Classic worksheets which could be saved as XML (which was relevant many years ago, before .mw was introduced), and Classic exists for 32-bit Windows only (nowadays). But I don't have any such XML files to verify that guess.

So you have a .mw file that is recognized by Maple as an XML file? That sounds to me like a corrupted one. In that case, please see our FAQ at

In a few cases (depending on the input equations and options), the following may provide the desired information:

infolevel[fsolve] := 2:

# two examples from the fsolve help page:

f := sin(x+y) - exp(x)*y = 0:
g := x^2 - y = 2:
fsolve( {f, g} );

fsolve( ln(v) = v^2 );

Since the infolevel setting does not cover all cases, it has been left undocumented for fsolve.

... so it's easy to handle (even in exact arithmetic if wanted):

sys := [u[0,0],u[0,1],u[0,2]]:
vars := indets(sys,'name');
A,b := GenerateMatrix(sys,vars);
SOL[0] := LinearSolve(A,b);


You loaded the modern Statistics package, but then called the random[empirical] command from the outdated stats package. If you load stats instead, your worksheet wil run, but much better would be to rewrite it w.r.t. Statistics. Please see ?EmpiricalDistribution for a start.

BTW: there is also a WienerProcess command in the Finance package.

My suggestion is to use

simplify(result) assuming n::posint;


Please provide some example calls of GlobalSolve that emit an error message so that we can reproduce the issue.

If you're runing Maple 2018, your GOT version should be 2018 as well - otherwise you cannot install it properly.
You can enter version() to see a list of all Maple components and add-on products along with their build IDs (internal version numbers). GOT 2018 should have 1298750.

Independently of that, we recommend that you update Maple 2018.0 to the latest 2018.2.1; please see our list at Note that there is no such update for the GOT.

Upon entering our webstore at, just set the Category to Student, and Location to your country (to see the correct currency). Then open the full list of student products. The 12-months term license is linked at the bottom. It's a bit cheaper than the default perpetual license.

Eligibility for the Student Edition will be checked in both cases.

4 5 6 7 8 9 10 Last Page 6 of 35