Items tagged with maple maple Tagged Items Feed

In my calculations, I encounter with too small numbers, e.g. 0.4e-10. My question is that how can I make the maple to ignore these small numbers and considers them as zero and not to incorporate them into subsequent calculations???

Thanks in advance.

when using jopenmaple, some maple command will cause jvm crash due to stack overflow exception, but has no trouble if issued in Maple GUI.


after some digging, i found that the stacklimit in Maple GUI is 130941. but if I use jopenmaple to invoke command "kernelopts(stacklimit);", the result is 893.  further more, if i try to increase stacklimit by issuing "kernelopts(stacklimit=894)", maple kenerl tells me that i cant increase it beyond hardlimit.


so here are my questions: 

1. why are the two stacklimits different?

2. is there a way to increase the hardlimit so that i can increase the stacklimit when using java invoking maple commands?

some platform information:

OS: windows 7 64bit

JAVA: jdk1.7 64bit



I have started to use Maple 18 and I have found that my scale starts at 2.*10^16 for all functions I graph no matter if its 3D or 2D. Is there a way to change this scale?


I have a procedure wich is something like 


F:=proc(a,b,l) limit(f(a,b),b=l); end proc;

For my specific problem, the limit always exists and is a well defined function

After that, I would like to generate other functions, depending on F(a,b,l), e.g.:


G:=proc(a,b,N) add(F(a,b,l),l=1..N); end proc;


However, when I tried to do that, Maple inserts in G an unevaluated F, depending on the results of the limits. This makes G not work properly (unevaluated), since the limit is not computed before G. I tried to use some intermediate steps, like using unapply command, but it does not works.

If someone can help, I would appreciate.




sorry for that question, i'm a beginner in maple but i think my question is not as simple.

So, i want to solve numerically this first equation :

but the second term is present only if k*(U*t-x)>μc*m*g  (stick-slip problem)

initial conditions : U=1m/s; x=0m; k=10 for example

My problem is simple, i don't know how to use conditional statement for such an ode in maple.

I've tried > Xr := U*t-x;
> k := 10; m := 1; g := 10; mu := .2;
> if k*Xr > mu*m*g then ode1 := m*(diff(x(t), t, t)) = k.Xr-mu*m*g else ode1 := m*(diff(x(t), t, t)) = k.Xr end if;

But, of course, too optimistic.

Thank to anyone who will solve that (isuppose) simple problem


Hi, I have a function as following:


where d1=0.01..0.06, d2>=d1, d3>=d2, d4>=d3, a1>0,a2>0, a1+a2<0.6.

I want to get  all the solutions of d1,d2,d3,d4,a1,a2, which satify the equation and the constrains, is there any way to solve this problem by using maple?




Maybe a bit strange question (just exploring Maple and a new topic), but is there a way to use CylindricalAlgebraicDecompose with a rational functions, eg 1/x, where eg is x an integer? I tried to use it but always ended up with:


Error, invalid input: RegularChains:-SemiAlgebraicSetTools:-CylindricalAlgebraicDecompose expects its 1st argument, F, to be of type Or(list(list(Or(polynom(rational), polynom(rational) = polynom(rational), polynom(rational) <> polynom(rational), polynom(rational) <= polynom(rational), polynom(rational) < polynom(rational)))), list(polynom(rational))), but received [1/x = x, polynom(rational)]

Maple 18 and MapleNet 2015.

Show/Hide Contents allows one to hide certain elements of the worksheet. Is there a way settings there (or somewhere) can be locked so that another user is prevented from seeing certain elements of the worksheet?

Rationale: As an example: I'd like my students to use Maple Player to interact with a worksheet, using Maple Component GUI elemnts. I do not want them to see all the code behind that, and in fact explicitly want to rule them seeing some function definitions. I can hide "input, output" when I create the document, but under "View" in Maple Player, the intrepid student could always unhide that and see the code.

As I am beginner in maple, how to verify Bianchi Identities?

For Riemannian manifold,

1) R(X, Y)*Z+R(Y, Z)*X+R(Z, X)*Y = 0 

2) ((&nabla;)[X]R)(Y,Z)W+((&nabla;)[Y]R)(Z,X)W+((&nabla;)[Z]R)(X,Y)W=0

I am not getting how to define vector fields. From my previous question I understood defining vector fields particularly. From that post I tried to verify the proof, but I cant. Please tell me about how to define vector fields without taking examples.

Thank in advance.

Hi everyone,

I would like to use structs

    struct sname {

in my C code defined elsewhere. How do I get CodeGeneration to produce variable names like



The appoach to use the respective maple data type

  sname := Record('smem1', 'smem2'):

results in

    Warning, procedure/module options ignored
    double smem1;
    double smem2;

and the appoach to define it as name


results in

    Warning, the following variable name replacements were made: sname.smem1 -> cg0
    cg = cg0;

Your answer is appreciated


I have a expression: (x-2)/(x-2) and I want to retrieve all the variables of this expression.

I tried the following commands:

1. indets(expr, name);

2. indets(numer(expr),name);

but all i get is an empty seems that maple will first simplify the expression and then figure out what variables are related to the given expression.


Is there any workaroud to achive what i want?


I have calculated coefficients in maple using a "for...end do" command. For example,

for n from 0 to 1 do A[n] = int(((2*n+1)*(1/2))*simplify(LegendreP(n, cos(theta)))*sin(theta), theta = 0 .. (1/2)*Pi) end do;

A[0] = 1/2

A[1] = 3/4


Here, I can calculate as many coefficients as I want. But, how do I use these coefficients in the following line? For example, I need to calculate a summation. But for each term in the summation, I want to input the coefficients above to the corresponding term in the sum. So. the following summation


will automaticlly attach the numerical values of the coefficients calculated above to the corresponding term in the sum.


I hope this makes sense.

Which Maple versions will run on Windows 10? Windows 10 is offered free to users of Windows 7 and 8.1. Several (including old) Maple versions run on Windows 7.

Hello There:

I used to display module bodies with eval with former Maple version: it seems not to work with Maple 2015: any idea ?

Thanks in advance,


3 different dia circular cheeses. same depth. minimize cuts such that its divided equaly among four people.

can be done in 3 cuts. can evem be done in 2







could some erudite richard provide maple solution to this Q. thx



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