Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

this can get a list of X1,X2,B2,X3,X5

propositionsentence := MM(AA("it", "run"), "maple"):

but this can not get "it", "run", "maple"

how to do this in case this in maple 12?

Dear Maple users

I was using the animation command to create an animation consisting of a running sine curve with a ball following the curve, as shown below. I wonder if it is possible to create it with the Explore command too? Or is this command more limited? I need to be able to add more animations, like I can with the display command ...

Regards, Erik.

Hello all,

So far I have been unable to find this question anywhere, but I apologize if it is a duplicate. I'm trying to evaluate the integral of sechq(x), where q is a positive integer. Mathematica is able to tell me the result (a hypergeometric function), but for some reason, Maple seems not to be able to compute this integral, it just gives me back the integral. A higher info-level on the 'int' function reveals a line that says 'Risch d.e. has no solution', but I'm not sure if that has anything to do with my problem. Any suggestions or tips on how to get an answer out of Maple would be greatly appreciated!

Hi guys,

I've had only a little experience with Maple, but I decided to use it for preliminary frequecy response calculations. The funny thing is, I have already the solution in some way, but I'm too stupid to get it working. I can't see the mistake, however, it should have something to do with the H_n(f) function and the other normalized functions.

NASA has published a nice paper which explains the calculations, however, they have used MathCAD. Anyway, I don't think this should be a problem. Here is the documentation: 

The error message is for example for the H_n(f) function:

Warning, expecting only range variable f in expression H__n(f) to be plotted but found name H__n


Please help me.

Maple file:

Hello people in mapleprimes,

I want to modify the inequality of e assuming d.
But, e/(1-a) assuming(d) does not work well.
How can I do for this?

                   0 < a, a < 1, 0 < b, 0 < c
                         c < (1 - a) b

Thanks in advance.



Hi I teach math, 

And I seek help to make the following. 

Lets say you have a function f(x)=x^3-x^2-4*x+12 and you want make a Maple demonstration which shows the students first how they find the extreme-points of this function by first solving f'(x) = 0 -> 3x^2 - 2*x - 4=0 and then taking the two extreme points and calculating the slope the tangent on their respective left and right side of the point x =. And then outputting.

Since the slope of the tangent on the left side x = .... is positive and the slope of the right to the right of the point is negative, then  x = ..... is a local max.

Since the slope of the tangent on the left side x = .... is negative and the slope of the right to the right of the point is positive, then  x = ..... is a local minimum.


I know that this can be done using FunctionAnalysisTutor from the StudentCalculus1, but since I teach student whos first language is english, I would to be able to do a worksheet/document which shows the above mentioned textoutput. It is possible? If yes if anyone has ideer howto do this? I would very much appriciate some input.  

best regards





When I execute the following code in Maplesoft on my computer, there are no problems.  However when I execute the same code in mapleTA occasionally Maple only finds a single input value corresponding with h_given.  Anybody have any idea what is going on?

Basically I have a function, f,  that I am only interested in plotting and analyzing real-valued inputs, t, from =0 to 100 (or so).  At some point I assign an output value, h_given, and I wish to find the correlated real-valued inputs.  From the graph you can clearly see that there are 2 inputs, however the script occassionally only produces 1 output. (when running on mapleTA).

Thanks in advance,

a := MapleTA:-Builtin:-range(1800, 2300, 100):
b := (1/10)*MapleTA:-Builtin:-range(4, 8, 1):
timeT := MapleTA:-Builtin:-range(70, 100, 10):
f := -t*(b*t-b*timeT)^2*(cos(.15*t+4)^2-3)/a:
maxs := NLPSolve(f, t = 0 .. timeT, maximize):
maxim := maxs[1]:
graph := plot(f, t = 0 .. timeT, gridlines = true, 0 .. maxim+10, labels = [t, h(t)], labeldirections = [horizontal, vertical]);
h_given := 10;
expr := h_given-f:
answer_t := Student:-Calculus1:-Roots(expr, t = 0 .. timeT+5);
evalf(answer_t, 2);


I am working with the Maple 18.02 version. I just want want to perform a basic polynomial expansion using the command "expand" and it does not respond as it should according to what Maple Programming Help says it would. For example:

Maple Programming Help says:

I get:


Also, one sees that this isn't even true, as x(x+2) + 1 = x^2 +2x +1, which is not equal to x^2 + 3x +2.

Moreover, maple tells me it is equal..:

What is going on here? I woul like to get the full expanded form (without factors). Also, this is obviously not true, or maybe Maple means something else by x(x+2) +1...

Thank you!

I have many integrals which I would like to calculate the value. The one in attachment is the simpliest example.

It shows 'too many level of recursion',

I know that it has something to do with the piecewise, however, it shouldn't, right? Any insights?


I have made an animate-plot with trace function enabled and I was wondering if there was something I could do so it would show the value of the variable when trace reached frame x and y and plot it in the plot or maybe somewhere else.

Thanks in advance.

i use optimization package with constraint hello >= 0

Minimize(xx=0, {hello >= 0})

but solution only return the case when hello = 0

how about hello > 0?

i would like to find all possible set of solutions using this constraint

do i need to set upper bound, such as {hello <= 7, hello >=0}

can it return solution when hello = 1.1, 1.2, ...2, 2.1, 2.2, 2.3, ....7

Hi All

I have the following line of code in Maple:

solve([sin(t), 0 < t, t < 6.28], t, allsolutions, explicit)

it produces: "{t = Pi}, {t = 2*Pi}, {t = 3*Pi}, {t = 4*Pi}, {t = 5*Pi}, {t = 6*Pi}, {t = 7*Pi}"

How do I get it to simply produce: "{Pi,2*Pi,2*Pi,3*Pi,4*Pi,5*Pi,6*Pi,7*Pi}

as having the variable listed is redundant and annoying when you want to go on and extract the 3rd solution (number only) form the list.

Thanks in advance.

i am interested to numerically solve the 3 non-linear coupled ODE's in the 3 different intervals of rho(define in attached file) for the different corresponding parameters alpha and beta at i=0..2. 

When using maximize on a relatively complicated function (see attached Maple file and PDF), it runs extremely slow. No return after 3 minutes.

My hardward: i7 2.3G, 8G DDR3 MEM, 500G SSD.

Maybe someone is interested to try the Maple code if your workstation is more powerful? :)


I hope to dynamically generate the function name via for loop, see enclosed Maple file and PDF file.

Any lights are appreciated.


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