Maple Questions and Posts

These are Posts and Questions associated with the product, Maple contains a computation of a graph on 14 vertices which has a two-cycle.  I was expecting CycleBasis to find this two-cycle, but it does not.  Anybody know why not?

I was also expecting CycleBasis to work on the original directed graph, but it did not, for reasons that I do not understand.

I think the issue is that the writer of this package had a different mental model of what graphs were; I freely admit that I am a novice with regard to graphs.

Comments welcome.

Ive got new "problems" with my math book. This time it is about differentiating like Gottfried Wilhelm Leibniz (, and his Leibniz notation.  (

dx/dy. Now that does sound like its just f'(x), of function f(x). But now they wanted something else i cannot produce. I could do the examples, and try to work it out like, but "im here to learn maple, not how to get my hands filthy with ink, and scratch on the paper when i make mistakes"... :P 

It says: Determine the differential that is being asked. 

No matter what i do, there wont be any solution that looks like the one given by the book. 

I would like to be good at this, while a lot of old books do still have the Leibniz notation. So it is eccential to be good at this if you want to really study the origins of math and science. 

Thank you!


The Function

I used to have this kind of code without problem:

myModule := module()
    option package;
    export myFunc;
    # local i;
    myFunc := proc()
        [seq(i, i in 1..10)]
    end proc;
end module;

But after upgrading to the latest version of Maple 2021, I get a warning

Warning, (in myModule:-myFunc) `i` is implicitly declared local |myModule.mpl:5|

I have to uncomment the local i declaration for the warning to go away. Has the behavior of seq changed in Maple 2021?

I have a function with 3 variables fr2, fr3, and fr4. I want to find how this function varies with these variables in such a way that fr2+fr3+fr4 = 0.5.  All three variables are non-negatives. Please help me in generating a sensitivity report as fr2, fr3, and fr4 each varies across 0 to 0.5 in increments of 0.01 subject to their sum is equal to 0.5

Thank you.

The function is fn1 = 1.150000000*10^11*fr3 + 1.150000000*10^11*fr4 - 1.374950000*10^10 - 1.549500000*10^10*fr2

How to know the internal procedures of Maple for instance : taylor or laurent ? Thank you.

Dear I have 

Vectors of locations points 

X=[ 1 , 2] ; 

Y =[ 6 , 7 ] 

I would like to point of the point of this grid a vertical bars with different given can I do this using maple or matlab 

how to export my data in sheet excel for this file  

I am trying to evalute symbolically a matrix looking like this:


V := (Matrix(3, 3, [[0, 0, 0], [0, 0, 0], [0, 0, 0]]) - (((1/2) . (Vector[row](3, [0, 0, 0]))) . (Matrix(3, 3, [[0, 0, 0], [0, 0, 0], [0, 0, 0]])))) . (Vector[column](3, [0, 0, 0]))


Here is the picture because the formatting is bad:



I need to have some equations in this form but maple wont allow me.



Let us say there is a function desribing an angle. And by deriving the math let us say the position is cos(theta). Theta is a function of time and cos is a function. How do i differentiate this and make maple see that theta is a function and not a variable.

i have tried this (x(t) is theta):

f := t -> sin(x(t));
Diff(f, t);

Did not work.What i want is the output to be.


Maple returns to me an algebraic expression that involves many RootOf expressions and I have found it hard to get all solutions behind this expression (by using "allvalues") - this keeps on running without terminating. Is there a way to get the number of solutions without asking Maple to return all solutions explicitaly?


Problem description

1) Define a function in terms of variables and parameters,

2) FInd the optimal solution

3) Plot the optimal solution in terms of a single parameter



What I have done is very basic since I haven't use Maple for many years. Here is an example

1) f(x;a,b,c):= ax^2+bx+c; (I don't knpw how to tell Maple that {a,b,c} is a set of parameters)

2) solve(f(x)=0,x); (I could use something like solve(f(x)=0,x,'parametric','real') but I am not interested in so detailed solution)

3) Here is my main problem. I want to save the first solution of x in optx(a;b,c) and the second in opttx(a;b,c) but I don't know how to do it (again, here a is my variable and b,c my parameters)

4) I also don't know hot to plot optx(a) as a increases, whereas the values of {b,c}={e.g., 2,3}


I would appreciate any resources/guidance 

hello,my friends.I got a problem in using maple.

I want project a cuboid on a plane, and integrate function on that area.

for example, a cuboid which have a spatial diagonal between (0,0,0) and (1,2,1).
Then it was projected to a plane defined by three points (-1,0,0), (0,-1,0) and (0,0,-1).
Finally, a function x^2+y^2 was integrated on that projected area.

I found the cuboid can be defined with plottools:-cuboid and projected with plottools:-project in maple.
but how to integration next?
I can't find any commands in maple can do the integration with that irregular area.

I need some help.Thank you very much in advance.

I have a function fn2 that I want to minimize. I'm not sure about the range of A. So I first want to check out if the function is convex or concave. Also need to find the optimum value of T w.r.t A for the fn2. But I'm not able to understand the solution, please help.

Here's a podcast that covers a few topics that get discussed on MaplePrimes.

We all like finding the right tool for the job. In the Sep 2021 episode of the Engineering Matters Podcast “#127 – Tools for Thinking” you can discover how far engineers have come in their quest for better tools.

It features contributions from several members of the Maplesoft team as they discuss how the user experience shapes the adoption of engineering software tools.

The hosts have fun describing some early calculation hacks - from early Sumerian farmers using their fingers as tally counters, to the paper calculus notebooks of the 1850s used by historical engineering figures like Isambard Kingdom Brunel. What starts as a necessity gets improved over time to save them mental effort – all driven by the way users interact with the tool.

This episode gives a behind-the-scenes look at some of the decisions that shaped the engineering product that is now Maple Flow from its roots in Maple. Maplesoft CEO Laurent Bernardin describes the spark of innovation in the late 1970s, when two professors at the University of Waterloo developed Maple. “The two professors got together, realising that there was a need in math education for a tool to help with calculations and setting out to create that tool. And Maple was born quickly, was adopted across universities around the globe.”

As engineers typically work in ways far removed from the regular academic setting, Product Manager Samir Khan weighs in on the shift that comes from a different user base: “Different tools have different design intents,” says Khan. “Some tools are designed for programmers such as code development environments, like Visual Studio. Some environments are aimed at mathematicians, people who need precise control over the mathematical structure of their equations, and some environments are designed for engineers who simply want to throw down a few equations on a virtual whiteboard and manipulate them and get results.”

The conversation also touches on the design of the GUI itself. Margaret Hinchcliffe, Maple’s Senior GUI Developer expresses the importance of smoothing the user experience - drilling down and taking “the typical tasks that people want to do the most, and make those the most immediate. So really focusing on how many keystrokes do they need to do this task?”.

Ironically the idea of the paper notebook still has features that are desirable. Khan muses on the idea that Maplesoft has “taken the first step with having a virtual whiteboard, but Maple Flow still relies on keyboard and mouse input”. He offers suggestions for what may be next in the industry: “It’d be interesting to see if we can take advantage of modern advances in deep learning and AI to imitate what humans are doing and interpreting handwritten mathematics.”

You can listen to the entire podcast (~30 min) here:


I am having some trouble with the "Seq" command of the "Threads" package. This is a parallel implementation of the usual "seq" command.

I namely defined a (very long) procedure "f" which defines a (very complicated) function $f: R^2 -> R$, taking as arguments an $x$ and a $y$ and returning $f(x,y)$. I want to plot its graph in 3D, which I try to do by making a 3D data structure consisting of points making up the $x$ range, $y$ range, and the evaluations $f(x,y)$. I then want to plot it with the "SurfacePlot" command from the "Statistics" package.

If I define my data structure as

 data := [seq([seq([i/10, j/10, f(i/10, j/10)], i = 1 .. 10)], j = 1 .. 10)]

the SurfacePlot(data) works. However, it is very slow because it runs in serial and the function evaluation "f(x,y)" takes a long time to compute.

I therefore wanted to compute the data in parallel. For this, I use

 data := [Seq([Seq([i/10, j/10, f(i/10, j/10)], i = 1 .. 10)], j = 1 .. 10)]

Sometimes this works, but often it does not and I get the following error after a number of datapoints have been computed (i.e. after evaluations of f have been made).

Error, (in simplify/float) invalid arguments for Float constructor

This is the first time I use parallel computing, so I am not familiar with potential problems that could trigger errors and don't understand very well how parallel computing works. Does "Seq" only compute the different data points [x,y,f(x,y)] in parallel, or does it compute stuff within the procedure "f" also in parallel when evaluating "f(x,y)" at some fixed arguments "(x,y)"? Because another procedure is defined within "f" and it is called multiple times within one "f" call, so in that case it could be a problem with lexical scope. Any suggestion to help me understand and correct my error would be greatly appreciated.

2 3 4 5 6 7 8 Last Page 4 of 1855