Thomas Richard

Mr. Thomas Richard

3496 Reputation

13 Badges

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

MaplePrimes Activity


These are answers submitted by Thomas Richard

I have not fully analyzed your code, but the most important issue is that you had no assignments to fx1 etc. because you just entered equations (using = as opposed to the := operator). So try this instead:

fx1 := sigma1*y-beta1*x1*y-v1*x1-mu1*x1+(2*alphad+alphaa)*k*A*s;
fx2 := alpha*v2*x1*z-beta2*x2*y-mu2*x2+v1*x1;
fy := sigma2*(beta1*x1*y+beta2*x2*y)-mu4*y-mu5*y^2;
fz := sigma3+y*(kz+y)-mu3*z-v2*z*x2;
fs := (k*(alphas-alphad)-mus)*s;

 

When using an indexed d (without declaring it as a Vector before), Maple will interpret it as a table; try whattype(d) to see it. Assignments such as d[1]:=d are syntactically valid (hence no error message) but do not make much sense - and will cause errors such as the one you are getting from simplify.

So you will need to use different variable names here.

The Split command of the Units package does this:

Split(g_moon); # returns a two-element sequence
Split(g_moon, output = coefficient);
Split(g_moon, output = unit);

Another way is to call convert(g_moon, 'unit_free') for the value.

Yes, of course the OpenMaple API is maintained; last year, it has been extended to cover Python.

Maple contains all necessary files for using the API. I'm wondering what made you think you need to download anything else. The URL you mentioned has nothing to do with Maple, as far as I can tell.

I suggest that you start by following the instructions e.g. under ?OpenMaple,Java,Examples

It's an undocumented method (see ?int,methods), so a bug report does not make much sense.

But if you want to learn about Ore rings (of univariate skew polynomials) in Maple, please take a look at the OreTools package.

That ODE is certainly a bit beyond the scope of these commands - please see the help page for the Student:-ODEs package.

Therefore, in the 2024.1 update it will be rejected as "not supported" by ODESteps.

As you know, dsolve and odetest are more appropriate tools for such advanced ODEs.

That's just interface(typesetting=standard) versus interface(typesetting=extended), or interactively: Tools -> Options -> Display -> Typesetting Level.

I'm not aware of any direct code converter, but two features should be mentioned here.

1. Maple has a built-in Python engine (interpreter and some libraries); enter ?Python,EvalString to open a help page that should be the most relevant one here. You can also enter Python code using Maple's code editor (as of Maple 2023).

2. There is an API for calling Maple from some other languages, and Python was added to that list in 2023. Please enter ?updates,Maple2023,Connectivity to see more.

It's located in the Maple Application Center; just search for Fourier, and you will find it (sorry, inserting the target URL does not work for me).

The LambertW function has an infinite number of branches (in the complex domain). If nothing is known about x, the principal branch will be returned by solve. By prescribing x=10, solve is able to select a particular branch (-1 in this case).

To obtain the general solution, insert the 'allsolutions' option, which will introduce an integer parameter for the branch.

Please see the TWSolutions help page; there are many features implemented.

Here's a first code snippet - you might want to adjust the options as needed:

with(PDEtools):
with(DEtools, diff_table):
U := diff_table(u(x,t)):
KdV := U[t] + U[]*U[x] + U[x,x,x] = 0;
TWS_ode := TWSolutions(KdV, functions = identity, output=ODE);

 

From the View menu, select Markers. A column will be inserted to the left of the worksheet. Scroll down until you see two document block markers with a thin red line. On both of these, right-click to open the context menu, then select Document Block > Show Command. The Typesetting:-RuleAssistant() lines will become visible then. Delete both and save your worksheet.

These products do not come bundled, so they have to be purchased separately.

Also take a look at the disjoint sets of platform support: Maple Calculator is available for Android and iOS; Maple on Windows, Linux, and macOS.

On Windows and macOS, I'm not getting any KCL either. However, value(u) returns this integral unevaluated.

We can convert the sines to exponentials, and then simplify (I haven't tried much here):

c:=convert(u,exp);
s:=simplify(c);
v:=value(s);
simplify(%);

A result in terms of Lommel functions.

What OS are you running Maple on?

In case of Windows, this FAQ page should help. Another customer confirmed this to me just a few days ago.

P.S. I suppose you mean the font size, as opposed to the font as such...

1 2 3 4 5 6 7 Last Page 2 of 45