MaplePrimes Questions

i want to plot

u(x,y,z,t)=tanh(x+y+z-wt),  (w is a constant)

could you help me please? 

i would like to to test and do hash on a 2d array and then predict this hash and then reverse back to another hash which can convert back to 2d array , how to do?

Dear Community,

I would like to evaluate this difficult function:  

Unfortunately when I try to define it in Maple, I always get an error message. I tried it in many different ways, but always failed. See also the attached workbook. Can someone pls. have a look, what I do wrong?

Tx for your kind help in advance,

best regards



Hi guys, Maple always shows the same result when I use sqrt() function

How can I fix it? Thanks

I'm using Win10, maple 2016.

I'm using high contrast mode (dark mode, white on black). Maple looks broken, the text is black on black, and in the side panel, some of the buttons are shiney white.

How do I set maple to support high contrast?

Consider two polynomials p and q in t. For example, p(t)=t^2+2*t and q(t)=t^3*(t+2). I want to find Gcd(p,q). But before I find it, solve an inequality and obtain that t<>-2. After that when I evaluate Gcd(p,q), I dont want maple to return t*(t+2) as Gcd because t<>-2 and thus the factor (t+2) is an unwanted common divisor. Is there a way to tell maple that "find the Gcd over a spesific domain". Because, otherwise maple needlessly spend time for finding the gcd. Any help would be appreciated.

Hi guys,

I have problem with doing a complicated integral ! 

Thanks for your help.



This is a simple model of the covid infection as it applies here, down under, without the use of any de's like

I'm told a substantial number of people do recover within 45 days ....
So on the 45th day 1 person has recovered, on day 50 two people have recovered and so on.

Just want to know how to write this sequence...

I have a bivariate polynomial in x,y,say P, and a parameter, say d, appears in P. I want to find d for which P has at least one non trivial factor. Is there  a fats way to do this in maple. Any help would be appreciated.


I am struggling to find a way to change a term like x to x(t) automatically. If I have something like

Data := x^2

diff(Data, x);

the result is 2x

How can I change this 2x to be 2x(t)?





Hi guys,

I am trying to find x(t) from these two equations:

odeA := m*diff(x(t), t, t) = -m*A*sin(2*Pi*f*t) - k*x(t) + 0.5*q(t)*(N__f*epsilon__0*L*(-2*x(t)/(G^2 - x(t)^2) + 2*(G__1^2 - x(t)^2)*x(t)/(G^2 - x(t)^2)^2)*(G^2 - x(t)^2)/(2*tan(alpha)*(G__1^2 - x(t)^2)) + N__f*epsilon__0*L*(-2*x(t)/(G^2 - x(t)^2) + 2*(G__2^2 - x(t)^2)*x(t)/(G^2 - x(t)^2)^2)*(G^2 - x(t)^2)/(2*tan(alpha)*(G__2^2 - x(t)^2)))/(N__f*epsilon__0*L*ln((G__1^2 - x(t)^2)/(G^2 - x(t)^2))/(2*tan(alpha)) + N__f*epsilon__0*L*ln((G__2^2 - x(t)^2)/(G^2 - x(t)^2))/(2*tan(alpha)) + C__p) - d*diff(x(t), t);

diff(q(t), t) = (q(t)/(N__f*epsilon__0*L*ln((G__1^2 - x(t)^2)/(G^2 - x(t)^2))/(2*tan(alpha)) + N__f*epsilon__0*L*ln((G__2^2 - x(t)^2)/(G^2 - x(t)^2))/(2*tan(alpha)) + C__p) + V__bias)/R1


How can I use dsolve to find x(t), apart from q(t) all other parameters are constant.




Can one hope that next version of Maple will be able to solve the standard convection-diffusion pde in 1D?


in 1D. Even the most simple form with zero boundary conditions can't be solved.

sol:=pdsolve([pde,ic,bc],u(x,t)) assuming d>0,c>0,L>0

              sol := NULL

I tried some HINT's also but not all of them.

FYI, Mathematica 12.1 is now able to solve the above PDE



Is it possible I am overlooking some other option or a trick to obtain solution for the above using pdsolve? Only reason I am asking is that Maple can solve much more complicated PDE's and the above is one of the basic diffusion based PDE's. So I am surprised why Maple still can't solve this as it is just a seperation of variables method.

Maple 2020 on windows 10. Physics version 631

Why is my figure not smooth? How can I make it smooth?

with(plots, implicitplot); with(plots)

pp1 := implicitplot(mu*x-ln(1+x) = 0, mu = -10 .. 5, x = -5 .. 5, color = black)





 I have a problem about extremal function.

The function is shown below with restricted condition of x and a:  x>=2 and -1 < a <0.


I guess that  it's minimum value is greater than 0.  In other words,  I want prove that  (x-3/2)^a-(x-1)^a+(1-2^(a-1))*((x-3/2)^a-(x-1/2)^a)-x*((x-3/2)^a+x^a-(x-1/2)^a-(x-1)^a)>0

when I use Minimize function,

Optimization:-Minimize((x-3/2)^a-(x-1)^a+(1-2^(a-1))*((x-3/2)^a-(x-1/2)^a)-x*((x-3/2)^a+x^a-(x-1/2)^a-(x-1)^a),{x>=2, -1<a, a<0})

I 'm not seeing but Error, (in Optimization:-NLPSolve) strict inequalities are not valid constraints. I cannot but add the condition of equality of a : -1<=a, a<=0.

Optimization:-Minimize((x-3/2)^a-(x-1)^a+(1-2^(a-1))*((x-3/2)^a-(x-1/2)^a)-x*((x-3/2)^a+x^a-(x-1/2)^a-(x-1)^a),{x>=2, -1<=a, a<=0})

A result is returned with a warning:
Warning, no iterations performed as initial point satisfies first-order conditions
[0.000000, [a = -2.225074*10^(-308), x = 2.000000]]


Local or Global ?

When I read recent question post

 I'm worrying  that Maple only returns local  extremun. So I use the freely  maple package DirectSearch. We can get it from

DirectSearch:-GlobalOptima(-((x-3/2)^a-(x-1)^a+(1-2^(a-1))*((x-3/2)^a-(x-1/2)^a)-x*((x-3/2)^a+x^a-(x-1/2)^a-(x-1)^a)),{x>=2, -1<a, a<0},maximize);

 Note: I add a  minus sign to find maximize value .

It returns: [0.002264, [a = -0.000203, x = 1.019590*10^13], 605]

But I substitute the value of a and x  into the function,it returns strange result:   4078.360000 not  -0.002264.

I’m confused.. 

I try to use  Mathematica, 

NMinimize[{(x - 3/2)^a - (x - 1)^
    a + (1 - 2^(a - 1))*((x - 3/2)^a - (x - 1/2)^a) - 
   x*((x - 3/2)^a + x^a - (x - 1/2)^a - (x - 1)^a), 
  x >= 2 && a > -1 && a <= 0}, {x, a}]

It retruns {0., {x -> 13.256, a -> 0.}}  May be well.


First 429 430 431 432 433 434 435 Last Page 431 of 2281