MaplePrimes Questions

Are there any informations about a potential vulnerability in Maple due to the Log4j bug?

Maple is running on Java...


I am trying to plot a contour in Maple2021, but I do not get a plot.

I have uploaded my maple document to this link

I appreciate a feedback.

~Best regards

Under maple 2019 (linux ubuntu) I cannot make 3d plots !



does not produce any output and also the worksheet does not react any more. The only way to get out is to quit.

Btw: 2d plots work fine ...

What is wrong ? Thank you. Bs regards, Malte.

From the help file in StringTools - Split:

There is no information about how this is done, though.

Good day sirs, 

I have a code given the error code "Warning, solving for expressions other than names or functions is not recommended".

Please, anyone with useful information. 

Thank you in anticipation for the your response.

The Maple file is attached below.

Apparently it isn't possible to access components in a workbook from procedures from a library.

Just wanted to know if that is correct, or if I am missing something here.

E.g. this procedures should delete contents of TextAreas with endings defined in a list of variables. Works nicely in the workbook, but when putting the procedure in a library, it apparently doesn't work anymore.

ResetCombobox := proc (var::set) local i; for i in var do if ComponentExists(cat("TextArea_", i)) then SetProperty(cat("TextArea_", i), value, 0) elif ComponentExists(cat("ComboBox_", i)) then  else Advarsel(cat("No component found for ", i)) end if end do end proc



Why would simplify(t^2*x^2+t^2*y^2)  give  (x^2 + y^2)*t^2 but with seemingly same input except changing `+` to `-` fails now to simplify it?  simplify(t^2*x^2-t^2*y^2) gives t^2*x^2-t^2*y^2

Just trying to understand the logic behind this behavior.

In Mathematica both do simplify as can be seen below, which is what one would expect.

Should Maple hangs when one quits a debugger in the middle of debugging session, and there is a call to the same function with a DEBUG break point in it next?

For example

  local x;
end proc;

And now in the next same execution group, I had

> foo(); #quitting debugger here makes Maple hangs/freeze



When evaluating the above, the debugger comes up as expected when first call to foo() is made.

When quitting the debugger either by hitting Quit or by hitting the close red X at top right corner, Maple now hangs. I was expecting the debugger to come up again for the second call to foo().  

It seems closing the debugger window like this for some reason is not handled correctly. Even if the user is not supposed to do this, Maple should not just freeze like this.

Nothing I do causes it to unfreeze. Clicking on the ! button does nothing. Only way is to either kill Maple from task manager or close all of Maple if possible and sometimes this does not even work, ending possibly losing work done on other open worksheets.

Maple should be more robust that this. Does this happen on other platforms?

This problem does not happen if the calls were each in a separate execution group in the worksheet. Like this

> foo();

> foo();

Using Maple 2021.2 on windows 10.


VertexConnectivity returns the vertex connectivity of a graph, that is the minimum number of vertices whose removal disconnects the graph.  When I was filtering some graphs with a certain  vertex connectivity, maple was much slower than mathematica. I'm going to store all graphs in file  named op21new.g6.  When mathematica selects all graphs with a connectivity of 6, it only takes 15 seconds to complete.

mma codes are the following 

L = Import[
  "C:/Users/asus/Desktop/op21new.g6"]; # Change this line
t = AbsoluteTiming[L1 = Select[L, VertexConnectivity[#] == 6 &];]

{15.6484, Null}

But my maple has been running for half an hour and it is not over yet.

L:=ImportGraph("C:/Users/asus/Desktop/op21new.g6", graph6, output=list): # Change this line

Because Mapleprimes does not support graph6 format file uploading, I changed it to TXT format. If you want to use it, you only need to change the suffix name.


Hi, I'm trying to solve auxilary equation to find its familes but I don't know what I'm doing wrong as I'm using following code:

famtemp := (diff(z(xi), xi))^2-a*z(xi)^2-b*z(xi)^3-c*z(xi)^4;

fam1 := simplify(`assuming`([dsolve(famtemp)], [b::real, a::real, c::real, -4*a*c+b^2 > 0, a > 0]))

I want to get the following family:

fam1 := 2*a*sech(sqrt(a)*xi)/(sqrt(-4*a*c+b^2)-b*sech(sqrt(a)*xi));

I hope someone will help me to solve it.


I'm trying to execute a code but i am having the following error:

Error, cannot determine if this expression is true or false: 257^(1/2) < -79999999/10000000

The entire procedure is downloadable here:

If someone can help me to find a solution I'll be very thankful.




proc (x, y) options operator, arrow; x^4-3*x^2-2*y^3+3*y+.5*y*x end proc



Critical points: tangentline in x direction and y direction are  0  for some points on the surface  f(x,y)  


CriticalPoints:= [ solve( {diff(f(x,y),x)=0,diff(f(x,y),y)=0}, {x,y}) ];

[{x = 0.5935572277e-1, y = .7105957432}, {x = 1.191117672, y = .7741187286}, {x = 1.255942703, y = -.7776000848}, {x = -0.5877159444e-1, y = -.7036351094}, {x = -1.197482099, y = -.6326213916}, {x = -1.250162405, y = .6291421140}]



Seems that maple calculate 6 points on the surface with a default domain?

let me make a  3D plot of f  ( not specifying the domain values)




I calculated 6 critical points :how to show them in the plot? : i calculate the functionvalues for f
So now i do have x,y,z values for a 3D point
plot3D ({ f, points}) ?



Some information to find in




Multivariate Calculus Study Guide

In order to make a procedure ( to make it general) out of the wanted calculated steps , i must first calculate these steps
List of wanted steps:


calculate (6 )critical points : i did


investigate of the found critical points :are there saddle points among them?
Show this in a table


show a critical point with 2 section lines in this critical point intersected in a plot


show these critical points in a plot


How to make table out of this list.CriticalPoints. for easy reading.?


CriticalPoints:= [ solve( {diff(f(x,y),x)=0,diff(f(x,y),y)=0}, {x,y}) ];

[{x = 0.5935572277e-1, y = .7105957432}, {x = 1.191117672, y = .7741187286}, {x = 1.255942703, y = -.7776000848}, {x = -0.5877159444e-1, y = -.7036351094}, {x = -1.197482099, y = -.6326213916}, {x = -1.250162405, y = .6291421140}]




Hi! 2 questions

1. I notice that the Curl operator of the VectorCalculus package can't compute the Divergence of a 2D vector field. Of course the most classical case is 3D, but it can also be defined for 2D. Is there any way in Maple to compute the Curl of a 2D vector field using the Curl command?

2. How one can extract the components of a VectorField ? I tried op, GetComponents (LieVectoFields package) etc... but I didn't find a simple answer on the help pages. 

e.g. V1 := VectorField(<-x, -y>, cartesian[x, y])

I want to get {-x,-y}

Many thanks !

Dear all, 

I am trying to use another notation for the inert differential operators in the Physics package (using alias), I am not getting the correct result. Does anyone know how I can solve this issue? Many thanks!


First 58 59 60 61 62 63 64 Last Page 60 of 2132