## how to calculate a permutation raised by a power i...

```example let P be a permutation: P: = Matrix ([[1,2,3], [4,5,6]])
calculate P ^ 4567 knowing that the order of P = 20```

## importing python packages...

Is it possible to import 3rd party python packages like pyGPGO (A  Bayesian Optimization package) available in github. Please reply. Thanks a lot

## How to solve a nonlinear diophantine equation in M...

Can Maple solve a (simple) nonlinear diophantine equation with restrictions on the variables?

For example, I would like to solve simple equations where all values of the variables are positive integers.

I have tried `isolve`. For example:

`isolve({29 = x^2 + y^2, 1 <= x, 1 <= y})`

and

`{isolve}({29 = x^2 + y^2, 1 <= x, 1 <= y})`

but they just give a warning (and no solutions):

Warning, solutions may have been lost

## Can someone explain the functioning of this contou...

The uploaded worksheet contains a contourplot whose display I can't understand. Can you explain it?

Countourplot.mw

## Why Is Inhomogeneous Heat Equation Formula Not Sat...

From Wikipedia,

However, when I plug the formula of u(x, t) into Maple, it doesn't seem to satisfy the PDE and is stuck evaluating.

 >
 >
 (1)
 >
 (2)
 >
 (3)
 >
 (4)
 >
 >

## The same x,y axis for ellipse...

I tried to get this plot with equal axis for x and y ?

G:=(x,y)->2*x^2+y^2-2*(x+y+x*y-1);
implicitplot(G(x,y)=0,x=-2..10,y=-2..10,scaling=constrained);

## Output field in Maple...

Hi there.

Is it possible to erase previous value of output field and to put new value into it?

For example, I want instead this:

to get something like this:

after first iteration

after fifth iteration

and after tenth iteration

How I can do it?

## how to determine the matrix of a permutation by kn...

how to determine the matrix of a permutation by knowing the orbit in Maple?

## Ganso maple toolbox...

I would like to know whether ganso optimization toolbox still available for maple. If so please provide the link for the same. Thank you.

## Does anyone use a windows 10 maple code editor dif...

Does anyone use a windows 10 code editor like, emacs, vim, or other with good textual layout, error and type checking? for building procedure files (libraries)?

I am using Maple2019.   I have been using a code region started in a worksheet and then exported to mpl file.   Not sure if I have really seen a debugger with breakpoints, step-in/step-out, type checking?   Am I just not looking in the right area?

Best practices from programmers of maple procedures appreciated.

Bill

## Can these vector space examples be explained?...

The uploaded worksheet contains two examples of the use of VectorCalculus[VectorSpace]. The first example seems explicable but the second does not.

I have tried and failed to find a full, clear explanation of how a vector describing a simple vector, spacecurve, or surface in the default vector space is transformed to appear in a user defined vector space.

Can anyone direct me to such an explanation, so that I can understand Maple's processing within the uploaded worksheet and enable me to use this Maple feature to future advantage?

VectorSpaceTest.mw

## Difficult ODEsys...

Why doesn't Maple show a solution to the following odesys of second order and not show an error?

Differential Equations Trebuchet, Phase II_2020-06-05

 (1)

 (2)

 (3)

 (4)

 (5)

 (6)

 (7)

 (8)

 (9)

 (10)

 (11)

 (12)

## How to extract the names of the functions?...

Hi,

I have an expression like this one
x := -h(U) + f( f( g( f(U+W*X)*V) + g( f(W)*g(V) ) ) );
I and I would like to extract the names f, g, h of the functions it contains.
I'v been stucked on this problem for a while and I finally found this could be done doing this
op~(0, indets(x, function({name, `+`, `*`})))

I don't understand why this works not even if it is the good way to proceed (the few examples I've built seem to prove this command works).
What way would you use to tackle this problem?

TIA

## How to make a list of value pairs from one list wi...

Hello again,

I have two functions f and h, that I want to show by pointplot as a diagramm (with a range from -10 to +10).

I know how to do it with "normal" functions, but what if for example the function f has 2 variables but h only has one?

f:= (sin(sqrt(x^2+y^2)))/(sqrt(x^2+y^2));

h:= f(x, 1.8);

These are the two functions.

So far I've made a list for each function for x  = -10 to x = 10

ListF:= [seq(f, x = -10..10, 1)];

ListH:= [seq(h, x = -10..10, 1)];

But I don't know how to go from there. Can I already use pointplot to connect the two lists? Or do I have to connect these two lists as one (which is what I originally planned) But I don't know how to do that, without always copying the results of one and then the other and putting both in a new list.

e.g Both lists show the values for the function for x = -10..10. If the first value of ListF is 5 and the first value of ListH is 1, then connecting both in a new list ListFH: = [[5,1]...], followed by the 9 other values.)

(5 and 1 aren't the actual results, I just used them for simplification.)

(Even if this isn't the right beginning for the solution of my original problem, I still want to know if it's even possible to take all values of one list of a function 'a' and all values of a second list of function 'b' and put them in a new list 'c' with c: = [a,b] without manually putting them together. So that the first value of list a is paired with the first of list b, the second of list a with the second of list b, etc... I hope you know what I mean)

In regards to my original problem I thought I could do something like this:

pointplot( [ [ListF], [ListH] ]);

I'm grateful for every answer :)

## on return type of function when using user defined...

When making a function and using the return type, I found Maple is not catching the case when the function returns wrong type.

Actually there are two issues in this example I like to ask about. First, here is the example

```restart;
kernelopts(assertlevel):=2;

foo:=proc( A::type_A ) ::type_A;  #this is what return type should be
print( type(A,'type_A')); #this prints TRUE
A:-x :=1.5; #opps, wrong type, changes type of record now!
print( type(A,'type_A')); #This now prints FALSE
return A;
end proc:

A:=Record('x' = 1);
B:=foo(A):
eval(B)
```

The call to foo() goes through as expected since type is correct.

First issue: Inside the function doing A:-x :=1.5;  changed the type of record now, since is supposed to be integer and now become real. Is there a way to have Maple detect this at run time?

Second issue: The function was defined to return type_A  but due to this overwriting the field of the record by wrong value, it is no longer type_A  (the print now says false). But why Maple did not detect this? Since the function is defined to only return type_A ?

Is it possible to change the code above to catch these type mistakes I made?

 First 312 313 314 315 316 317 318 Last Page 314 of 2195
﻿