Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I need to sustitute many similar expressions. 
Somthing like:

subs( {f(x1)=h(x1), f(x2)=h(x2)...., f(xn)=h(xn)}, expression)

How can I ask Maple to substitute 

f(anything) = h(same thing)? 

(In Mathematica this can be done with x_) 

Even more general, how can I substitute, for example, 

F(f(x)) = H(h(x))
where f(x) is really 'anything'? 

Thanks! Max

Initial text in the uploaded worksheet describes an attempt to partially tile the Poincare disk and asks to be shown how a known complex transformation can be used to accomplish this.

 Poincare_tiling.mw

Hi,

I have a problem with intsolve which seems does not cover nonlinear equations:

Please guide me.

my code is as follow:

intsolve(fracdiff(u(x, t), t, 1/2) = t^(1/2)*sin(x)/GAMMA(3/2), u(x, t));

But I face with the following error:

Error, (in intsolve) integral equation is not linear.

I searched but I did not find a solution or alternative code to this end.

Do you know the way?

The solution of equation shall be:

u(x,t)=t*sin(x)

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

Maple is running on Java...

Hello

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 problem_contour.mw

I appreciate a feedback.

~Best regards

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

Typing

plotd3d(sin(x*y),x=0..2,y=0..0.5);

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.

Expression.mw

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


 

Download ResetCombobox.mw

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

restart;
foo:=proc()
  local x;
  DEBUG();
  x:=x+1
end proc;

And now in the next same execution group, I had

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

  foo();

 

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.

with(GraphTheory):
L:=ImportGraph("C:/Users/asus/Desktop/op21new.g6", graph6, output=list): # Change this line
L2:=CodeTools:-Usage(select(g->VertexConnectivity(g)=6,L)):

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.

op21new.txt

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.

Thanks

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: https://www.mediafire.com/file/3iiwmipruhtlhzx/Newton+Bairstow-+proyecto1.mw/file

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

HOW TO DECIDE THE TRIPLE INTEGRAL IS POSITIVE, NEGATIVE OR ZERO WITHOUT CALCULATING IT?

First 350 351 352 353 354 355 356 Last Page 352 of 2216