Maple 2020 Questions and Posts

These are Posts and Questions associated with the product, Maple 2020

I have a string which includes characters from the extended ASCII character set. I simply want to print the string. Nothing fancy. Hence my question is: how does one print characters from the extended ASCII character set so that they show up as the characters and not a bunch of empty boxes?  (A technique for UTF-8  character printing would be a bonus.)   

<Edit> For example, in integers, my string could be:

s := [56, 72, 157, 38];

Hence there printing of s as a string should be a 4 character / bytes entity: 

printf("%s", convert(s, bytes));

 I want to find all real roots of   equation x^2 + floor(x) - 10=0

solve(x^2+floor(x)-10,x) assuming x::real 

maple tells me:

  RootOf(_Z^2 + floor(_Z) - 10)


RootOf(_Z^2 + floor(_Z) - 10, 2.828427125 + 0.*I)

even though  usRealDomain.

use RealDomain in  solve(x^2+floor(x)-10,x) end use

We get nothing!

So I trun to use fsolve.




                     s := {x = 2.828427125}



I try to use mathematica, it is good:

Solve[x^2 + Floor[x] - 10 == 0, x, Reals]

Could Maple  do that?








   My question should have a straight forward answer but after considerable searching I am unable to find one that is satisfactory. I am new to Maple.

I am writing an exam question, and I would like to change the parameter values to create different versions of the same question. I begin by defining the parameters and defining the supply schedule:

n:= 10: alpha:= -60: beta:= 20:

Qs:= alpha + beta*P;

The question with text and inserted math appears as follows (after each math expression I use CTRL = to generate an inline expression):

There are n = 10 identical firms. Supply is given by Qs = 20 P - 60. When P := 4 = 4 then quantity supplied is equal to Qs = 20. Calculate the ...

What I want instead is the following:

There are 10 identical firms. Supply is given by Qs = 20 P - 60. When P = 4 then quantity supplied is equal to 20.  Calculate the ...

I want the values highlighted in blue to update if I change the values for n, alpha and beta, and then click the !!! button in the Maple menu. I am okay with moving the "P = 4" out of the question and defining it as a parameter along with n, alpha and beta. However, when I do this Qs evaluates as a value rather than the Qs = 20P - 60 expression.

Thank you very much.



I discovered the LinearAlgebra package can use CUDA, 

CUDA, the Compute Unified Device Architecture, is an extension of C created by nVidia that allows the programmer to take advantage of the massive parallel computing power of an nVidia graphics card to do general purpose computation.

I also discovered that my new GTX 1660 Ti graphics card has 1,536 CUDA Cores, and the Maple CUDA package allows Maple to use the GPU hardward to accelerate certain LinearAlgebra routines.

The Maple command calling sequence is

CUDA[command]( arguments )

command( arguements )

But that is all I know.

Do any of you know just how much Maple can do with this sort of thing?  I've only had my individual license a couple of weeks so I don't have any perspective on what this means for Maple.

Can a lot of Maple make use of this sort of thing, or just a little bit?

Are there any other facilities in Maple that can make effective use of CUDA or any multi-processing like fully engaging all the coomputers CPUs?

I am interested regardless where the capabilities are implemented since enhancement can come from Maple, extensions, the Windows OS, the CPUs, or grahics card.... or any combination of these.

I rescently downloaded and installed my new Maple 2020 on my Windows 10 64x computer.

I noticed this in the install log:

   Log started 06/13/2020 at 03:25:42
   Preferred installation mode : win32
   Trying to init installer in mode win32
   Mode win32 successfully initialized
   Preparing Check for Update Tool
   Checking for Maple 2020 Updates

My question is this:  I know that under windows 10,  32 bit progams will generally install on even if a computer is 64x.

So should have Maple installed under mode win32?  Is there a 64 bit mode that will take better advanage of the system?

For that matter, is there any configuring that can install it or configure it to take better advanatage of the multi-threaded hardward capabilities?

Thanks, JS

( edited after the fact

BTW I tried to give your comment, kernelopts(wordsize) as the best answer, but it wouldn't let me because it is a comment.  So I gave your previous answer the credit.

kernelopts(wordsize) really hits it on the head for me.)

Thank you Edgardo ! :)

Here is what I have :

"C:\Maths\Maple\lib", "C:\Users\jm\maple\toolbox\GRTensorIII\lib"

The "Physics Updates" version "716" is installed but is not

   active. The active version of Physics is within the library

   C:\Maths\Maple\lib\maple.mla, created 2020, March 5, 2:36 hours

At least it is here. Yesterday I had "Package not installed".


(still don't know what to do)

I'd like to solve the equation b^4+12*b^2+22*b^2-20*b+1=0

s1:=allvalues(s[1])[]:# first solution

I find   first solution has  common subexpressions 5435 + 3*sqrt(515793), so I want to repalce by t. but unfortunately failed.

eq:=5435 + 3*sqrt(515793)=t:
# failed

why? in  following simple instance, it is OK!

eq:=5435 + 3*sqrt(515793)=t:
applyrule(eq,sqrt(5435 + 3*sqrt(515793)));






I try an import of csv external data file but i have "inconsistency".

With the smaller file import is OK,

With the second, bigger, the import is not "consistency" and i can not after perform statisyical analysis, possible on the smaller.

Attached zipped the 2 files (smaller test1_plantdata, bigger sub1_plantdata)

The structure of the csv file is exactly the same.

follow Maple code (changing directory and file name):




interface(displayprecision = 4);

plantdata := Import("D:/Dati/Prove/Maple/test1_plantdata.csv");


I don't understand where is the "error"...

Thanks, regards.


Whenever I call solve, I now make sure to convert the solution to a set first to get rid of duplicate solutions which could be generated.

Is there a way to tell solve to return unique solution only by default?

sol:=solve(expr = 0,u):


But there are actually only 4. The other 4 are duplicated



This does not happen all the time,but I noticed it few times now. Is this to be expected?

Maple 2020.1


 I try to solve the general solutions of  sin(x^2)=1/2. And then I would  like to check the solution,but failed. How to do?

about(_Z1);  #Originally _Z1, renamed _Z1~: is assumed to be: integer
about(_B1);  #Originally _B1, renamed _B1~: is assumed to be: OrProp(0,1)

it sholud be 1/2. Thanks!

I gave odetest some confusing long candidate solution to check for me. It gave an internal error

ode:=3*y(x)*cos(x)+4*x*exp(x)+2*x^3*y(x)+(3*sin(x)+3)*diff(y(x),x) = 0:
sol:=y(x) = -1/3/(exp(I*x)+I)^2*exp(((24*I*x*exp(I*x)-24*x)*polylog(2,I*exp(I*x))+(-24*I-24*exp(I*x))*polylog(3,I*exp(I*x))+(4*I*x^3-3*I*x+6*I*Re(x)-6*Im(x))*exp(I*x)-6*I*Im(x)+3*x-6*Re(x))/(3*exp(I*x)+3*I))*(1-I*exp(I*x))^(-4*x^2)*(4*int((1-I*exp(I*x))^(4*x^2)*x*(2*I*exp(((-24*I*x*exp(I*x)+24*x)*polylog(2,I*exp(I*x))+(24*I+24*exp(I*x))*polylog(3,I*exp(I*x))+(6*Im(x)-6*I*Re(x)-4*I*x^3+(3+6*I)*x)*exp(I*x)+6*I*Im(x)+6*Re(x)+(-6+3*I)*x)/(3*exp(I*x)+3*I))+exp(((-24*I*x*exp(I*x)+24*x)*polylog(2,I*exp(I*x))+(24*I+24*exp(I*x))*polylog(3,I*exp(I*x))+(6*Im(x)-6*I*Re(x)-4*I*x^3+(3+9*I)*x)*exp(I*x)+6*I*Im(x)+6*Re(x)+(-9+3*I)*x)/(3*exp(I*x)+3*I))-exp(((-24*I*x*exp(I*x)+24*x)*polylog(2,I*exp(I*x))+(24*I+24*exp(I*x))*polylog(3,I*exp(I*x))+(6*Im(x)-6*I*Re(x)-4*I*x^3+(3+3*I)*x)*exp(I*x)+6*I*Im(x)+6*Re(x)+(-3+3*I)*x)/(3*exp(I*x)+3*I)))/(sin(x)+1),x)-3*C[1]):


Error, (in tools/map) too many levels of recursion

I agree that the solution I gave it is very long and most likely is wrong solution. But that is besides the point. The problem with these internal recursion errors, is that try/catch does not catch them. So the whole program stops, and not able by bypass this error.

Should odetest have handled this better?

fyi, I posted similar internal error from Maple about 2 weeks ago in

due to too many levels of recursion as well, but that was fromt rying to evaluate int. 

Maple 2020.1 , Physics 708


Hello each and everyone,

I have a problem with *my* machine (I suppose) :

The "Physics Updates" version "716" is installed but is not

   active. The active version of Physics is within the library

   C:\Maths\Maple\lib\maple.mla, created 2020, March 5, 2:36 hours

It was the same for version 715.

What do I have to do to make it "active". I never had this problem.

Thank you.


Maple 2020.1 , Windows 10 Pro 2004


why does Maple say that timelimit got one argument when doing

timelimit(30,solve(x^2+a=0,x) assuming a>0)

There is clearly 2 arguments in the above, The first is 30 and the second argument is solve(x^2+a=0,x) assuming a>0

I know the workaround is to add [ ] around solve(). 

timelimit(30, [solve(x^2+a=0,x) assuming a>0])

Maple 2020.1 windows

I am interested in the AC circuits which control electric motor performance.

I have installed the Syrup package, written by Joseph Riel, from the Application Centre but it seems to draw and solve only DC powered circuits.

Does Syrup have AC circuit capability?

If not, is there any available package written in Maple which can draw and analyse AC circuits, preferably one in which the circuit can be constructed by clicking circuit elements in an palette and dragging them to a canvas?

Finally, if there is no such Maple package, can you point me to an equivalent, free package which is downloadable from the internet? 

I guess this command got missed?





3 4 5 6 7 8 9 Last Page 5 of 15