MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Hi all.

I am using Maple2015.

I typed in as input y=x/sqrt(1-x^2).

I hit enter.  The output is:


I know the 2 answers are equivalent.

My question is why did Maple swap 1-x^2 to -x^2+1???

Any advice to swap it back would be greatly appreciated.

How to find asymptotic behaviour of a function.

For example at infinity

sinh(x) behaves as 1/2*exp(x)

1/sinh(x)  behaves as 2*exp(-x)

exp(-x)*(exp(-x)+1) behaves as exp(-x)

so that it works with a more complex expression.

when solving a system of equations, I want to get rid of all the absolute functions.


for example, |y-2|=x,I don't want maple solve this equation directly...because maple may has difficulties when dealing with absolute values. Instead, I want to transform this equation by squaring the both sides at the same time which end up this equation: (y-2)^2=x^2.


The example I provide is kind of simple...what if there are multiple absolute term in the equations? Is there a general way to get what I need? Or Is it practical to use Maple to achive such thing?


thanks in advance.

When I use fsolve with equation 

-x^2 + 2*x + 5 + (x^2 + 2*x - 1)* sqrt(2 - x^2)=0

I got only one solution.

fsolve(-x^2 + 2*x + 5 + (x^2 + 2*x - 1)* sqrt(2 - x^2)=0,x);

In fact, it have two reals solutions.  

I posted at here


Hello Everyone

I have an expression which I wish to integrate. I would be grateful if you could please help me with it. I have uploaded the maple file for your refrence.

Thanks a lot for your time.


option hfloat;
local a;
if nops(a)>=1 then seq([v,a[i]],i=1..nops(a));
end if;
end proc:

The final figure is different between maple12 and maple17.

On 17, unwanted points apprear.

is it a bug?


I don't why I can no longer see my multibody model in the 3D construction mode.

I probably should desactive something.

I would like to observe my system with the kinematic constraints not enforced.

The idea is that my model is computing but the computation is very long. I should have done a mistake in my initial conditions.

Do you have an idea of what to do to reactivate/ show again the 3d contruction mode ?

Thank you for your help.

Dear Colleges

I have a problem with the following code. As you can see, procedure Q1 converges but I couldn't get the resutls from Q2.

I would be most grateful if you could help me on this problem.


Sincerely yours




reynolds:=12734151.135786774055543653356602;     #10^6;   #1.125*10^8:

Q:=proc(pp2) local res,F0,F1,F2;
if not type(pp2,numeric) then return 'procname(_passed)' end if:
end proc;

Q2:=proc(rr2) local solT,T0,T1;
if not type(rr2,numeric) then return 'procname(_passed)' end if:
end proc;



could you help me about maple
i try to calculating using chevypade rational approximating and the answer for cos(x) xe is(-.221091073962959*T(1, x-1)+.7710737338*T(0, x-1)-0.4212446689e-1*T(2, x-1))/(0.836360586596837e-1*T(1, x-1)+T(0, x-1)+0.3360079945e-1*T(2, x-1)) i can not to convert to rational form as x^^n .maple is not very friendship

> restart;
> with*plots;
> Eq1 := diff(f(eta), eta, eta, eta)+f(eta)*(diff(f(eta), eta, eta))-(diff(f(eta), eta))^2 = 0; 

> N := 1;

> blt := 10;
> Eq2 := (diff(theta(eta), eta, eta))/Pr+f(eta)*(diff(theta(eta), eta)) = 0; 
> bcs1 := f(0) = 0, (D(f))(0) = 1, (D(f))(blt) = 0;
> bcs2 := (D(theta))(0) = -N*(1+theta(0)), theta(blt) = 0;
> L := [2.5, 3, 5, 7, 10];
> for k to 5 do R := dsolve(eval({Eq1, Eq2, bcs1, bcs2}, Pr = L[k]), [f(eta), theta(eta)], numeric, output = listprocedure); X1 || k := rhs(R[3]); X2 || k := rhs(R[4]); Y1 || k := rhs(R[5]); Y2 || k := -rhs(R[6]) end do;


 how I will draw the graph for Pr against theta   for Pr=2.5 until 7  taking rest of the parameter fix


Problem: I have two polynomials with arbitrary coefficients. I set them both to 0 and I used the 'map' , as well as 'coeffs' command to make the coefficients equal to 0.

Now for some reason, Maple does not print in order for one of the polynomials and it does for the other.


Note that 'order' refers to the coefficients attached to the powers of the variable.


Quick example: (this one actually works on Maple, but just not the one I have)


e1:= ax + (b + c)x^2 = 0

e2:= (c + d)x + (a + c)x^3 = 0


After applying map and coeff, one expects it to output


a = 0, (c + d) = 0, (b + c)=0, (a + c) = 0


instead I got


a = 0, (c + d) = 0, (a + c) = 0,(b + c)=0


Here is the problematic file

I wish to evaluate the expression

knowing that

where a is a constant.  It is not hard to see, assuming enough differentiability,  that the expression evaluates to

I know how to do this when all the derivatives are expressed in terms of the diff() operator.  Here it is:

eq := diff(u(x,t),t) = a^2*diff(u(x,t),x,x);
expr := diff(u(x,t),t,t);

However, I would prefer to do the computations when all derivatives are expressed in terms of the D operator but cannot get that to work.  What is the trick?

I've been having trouble figuring out some functions of Maple 18 specifically related to polar and cartesian integrals. My questions exactly would be; how does one go about translating a cartesian integral into a polar integral and just about most things related to polar and cartesian interactions/conversions.


For an example I have a double integral of 9xy^2 dxdy with bounds a= -sqrt(a^2-y^2) b= 0 c= 0, d= 1.

How exatcly do I use all of the available Maple functions to help me get to my answer?


Thanks in advance. Any help is appreciated.

according to help on timelimit

"Note: For efficiency reasons, the timelimit bound is ignored while in built-in routines."

Which is not very useful, since I want to limit  int() to some CPU time.

There are some integrals that can hang Maple easily. I'd like to set some CPU time on an int() and
have it terminate with error, but I am not able to find how to do that.

For example this


Will hangs Maple.
Is there a trick some expert here can show to limit the CPU time on a build in operation?
May be some package or other command can do this?

I am only interested in int() now, but if it can work also on dsolve, that will be good.

thank you
ps. Mathematica supports putting time constraint on build-in commands. So I do
not see why Maple can't also do the same.

Hello. I have a question. If you can help me, i am pleasure.

Have nice day. :)


soru := proc(n,x)
local top::0;
for x from 2 to n do
top =top+(((x^(2+i))*top)^(1/(n+2-i)));
end proc;



Error, (in soru) illegal use of a formal parameter

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