MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

I am doing some lengthy computation using the externally developed (and published in academic journals) package 'Janet' to compute the compatibility conditions of an overdetermined set of linear PDEs.

At some point in the process (for a set of equations rather, but not SO, complicated) the procedure gives the error

in (PDEtools/NumerDenom) too many level of recursion


I have contacted the developer of the packages and he told me that he never directly calls PDEtools functions, so he deems that that call is made by some more standard maple command (such as simplify).

I could not find any documentation of NumerDenom function, to try and understand what might be the problem (my set of equations has some extremely 'bad' fractions, but I hope this is not that naive)

How does NumerDenom works, and where is it called by 'standard' maple command?

Thank you all.



I want to simulating a mulitibody system, similar circular motion.

schematic diagram:




Why the ball cannot keep on the circle?



When I print a Table with graphs in it, the graphs are compressed vertically to an extreme extent. There has to be some compression from the screen, of course, since I have a wide-screen (although the actual worksheet does not use the whole screen width because of the palette and the fact that I don't use full-screen mode. However, the vertical compression  (that is, in a direction where there is plenty of room on the page) is many times more than the horizontal compression. In order to get the printed graph to look normal, I have to stretch the screen graph vertically an extreme amount, which, of course, looks horribly distorted on the screen.

Also when printing a graph as part of a Table, the graph area is clipped so that the title and legend do not print.

I thought that the Table struction would be a good way to display related graphs. But this behavior is making the use of Tables tedious and much less satisfactory because of the missing titles and legends.

None of these things happen when I print a graph in a regular execution group outside a Table structure.

Has anybody else had this problem, and have you found a way to avoid the compression and get the legends?

Hello, Everyone!

I have a big TXT-file (~ 40 Mb). There are 970001 strings in this file. In each string there are 5 float numbers. I use command: readdata to obtain information from my file.

The problem consist in time, which Maple spends to read data.

My question is: how can I accelerate file reading?

My code: "Test"

My file in zip-archive: "Imp34462"




After solving ode I am looking only for the values >=1.5. For example at t=1, y(t)=3.8940.

How can I extract the values >= 1.5 from the solution to use it as data (t,y(t)) and save it ?

with(DEtools); with(plots);
eqn := diff(y(t), t) = -.25*y(t);

 init := y(0) = 5;

sol := dsolve({eqn, init}, {y(t)}, numeric, output = array([seq(i, i = 0 .. 50)]));
p[1] := plot(1.5, t = 0 .. 50, colour = black);

p[2] := odeplot(sol, [t, y(t)], t = 0 .. .50, colour = red);

display(p[1], p[2]);



I have an equation

Eq1 := (2*(.2916666667*Mtrailer+.5000000000*M1))*(diff(y1(t), t, t))+MR*(.5*Mtrailer*g+M1*g)+Kspring*MR^2*y1+Cd2*MR*(diff(y1(t), t))

When I use the solve command to solve for diff(y1(t))

ydotdot := solve(Eq1, diff(y1(t), t, t))

I get the following

ydotdot := -2.500000000*10^9*MR*(2.*Kspring*MR*y1+2.*Cd2*(diff(y1(t), t))+2.*M1*g+Mtrailer*g)/(2.916666667*10^9*Mtrailer+5.000000000*10^9*M1)

Why do I get the unwanted factors 10^9, and how can I get rid of them?

I have been trying to fit a function to experimental data. To do this i was using


The data is of the type


When I use initialvalues, I get a result, that fits the data well, but is clearly not the desired minimum. Maple delivers g always bigger than 10000 which is nowhere near -7, where it has to be for physical reasons. When using parameterranges I get the error

Warning, no iterations performed as initial point satisfies first-order conditions.

He stopps computing and simply prints out my initialvalues or the first value that is in the parameterrange with a huge RSS.

How can I use initialvalues and parameterranges together for my data?

I have been puzzled by a matlab toolbox problem for a long time. How can I get Maple notation in matlab output?

Both "Input display" and "Output display" in Tools-->Options-->Display was changed from "2-D Math notation" into "Maple notation". And the output in Maple is indeed Maple notation like this:maple output

But the output in matlab is also 2-D notation like this:matlab output

when copy it to Matlab or Maple as input, it become the wrong issues like this:wrong style

How can I output Maple notation in matlab? The version is Maple 18 and Matlab 2014b, respectively.



My task is to develop a mathematical model of time-variant temperature
distribution in a bar with Maple. 
The bar is made of aluminum. The length is 202 mm and the diameter
is 8mm.
Heat is supplied from the kitchen lighter where the flame burns on butane.
The height of the flame is about 4 mm.
Your model should be able to answer how long the time it takes to reach
a certain value of temperature at the distance of 10 cm from the heat source.


anyone can help to answer this? im totally new to maple.. hopefully some1 can help me to answer this..


I wanted to calculate the eigenvalues and vectors of the following matrix:

A:=Matrix(6, 6, {(1, 2) = k_noho2*NO, (2, 2) = -k_noho2*NO, (2, 5) = k_ipro*O2, (2, 6) = k_hypro*O2, (3, 3) = -k_ro2no*NO, (4, 4) = -k_ro2no*NO, (5, 3) = .991*k_ro2no*NO, (5, 5) = -k_ipro*O2, (6, 4) = .977*k_ro2no*NO, (6, 6) = -k_hypro*O2}, datatype = anything, storage = rectangular, order = Fortran_order, shape = [])

There are no problems with calculating the eigenvalues, but when trying for Eigenvectors(A) it's telling me

Error, (in LinearAlgebra:-Eigenvectors) cannot determine if this expression is true or false: 0 < k_noho2*NO
So what's the problem here?




I am new to Maple, and I would like to get some help. Thank you.

I have an assignment where I had to make a power-regression of some numbers. 


Now, I did this. I got this  1,18971*x*0,38480



The next task is to make a prognosis (lol, I don't know how to say that in english), but I had to get to know what x = 17.

Ussualy, you would just put 17 in your function and then calcuate what x=17 is.


Now, I want to know if there's a method in maple where you can solve what x=17 is.


The reason i ask is because our assignment is a "Maple-assignment" so if there's a solve-function, then please let me know.


I appreciate your help.



Hi EveryOne!

I have polynomial: p(x) = x^4 + 27x^3 + x^2 + 16x +1 over finite field F=GF(2^8)/f(x)=x^8 + x^4 +x^3 +1

The factors of this polynomial are: (x + 37)(x + 217)(x^2 + 213x +30) (in maple)

Hence there two roots of p(x): x = 37 and x = 217 in GF(2^8). The factor x^2 + 231x +30 is of degree 2. There are not roots in F. But in extension field GF((2^8)^2) of F, also there are two roots of factor x^2 + 213x + 30 (for example: x = 256 and x = 256^256 = 487).

How to find these roots of p(x) in extension field GF((2^8)^2) by maple? Please help me! Thanks a lot.

So I've been trying to plot a parametric equation with the command:

But I keep recieving the error: Error, (in plot) incorrect first argument [cos(2*t)+sin(2*t), -2*sin(2*t)+2*cos(2*t), t = 0 .. 6.29]

Do any of you have an idea of what I'm doing wrong?

1 2 3 4 5 6 7 Last Page 2 of 1146