MaplePrimes Questions

In Maple 2019.2, I'm trying to compute series expansions. For the input
series(1/z^4/(1-z), z=0, 1);
Maple gives me a series of the expression around z=0, truncated to 1 term, i.e.
z^(-4) + O(z^(-3))

But with the input
series(1/z^4/(1-z), z=0, 2);
Maple gives me the result
z^(-4) + z^(-3) + z^(-2) + z^(-1) + 1 + z + O(z^2)

Apparently Maple has decided not to give a series with 2 terms, but a series up to O(z^2). I'm surprised that the third argument of "series" is not treated in a consistent manner. I've restarted the Maple server between the two computations, so it's not a memory effect.

In the above example, this is just a minor annoyance, but I'm actually dealing with huge expressions, and for performance reasons it's important to truncate the series expansion at the desired order and stop further computations. Has anyone encountered this problem?

Hello everyone,

Please how can I caluclate an integrale based on data set (Q) usiing any integral method

thanks


 

restart:

NULL

NULL

NULL

Q := [21521.7, 11966.6, 7859.78, 7947.54, 9667.45, 10206.8, 10934.0, 10925.0, 11151.5, 10964.6, 11009.0, 11087.0, 11164.3, 11215.7, 11272.7, 11319.0, 11354.6, 11386.2, 11413.5, 11436.3, 11456.0, 11473.2, 11488.2, 11501.1, 11512.7, 11523.0, 11532.2, 11540.3, 11547.7, 11554.3, 11560.3, 11565.8, 11570.7, 11575.3, 11579.4, 11583.2, 11586.7, 11590.0, 11592.9, 11595.7, 11598.2, 11600.6]

[21521.7, 11966.6, 7859.78, 7947.54, 9667.45, 10206.8, 10934.0, 10925.0, 11151.5, 10964.6, 11009.0, 11087.0, 11164.3, 11215.7, 11272.7, 11319.0, 11354.6, 11386.2, 11413.5, 11436.3, 11456.0, 11473.2, 11488.2, 11501.1, 11512.7, 11523.0, 11532.2, 11540.3, 11547.7, 11554.3, 11560.3, 11565.8, 11570.7, 11575.3, 11579.4, 11583.2, 11586.7, 11590.0, 11592.9, 11595.7, 11598.2, 11600.6]

(1)

``

NULL


 

Download simpson.mw

I think there is a special needed package for this : student vector-calculus ?

 

Hi, 

I ran this command
c := NeutralSpread(Color("RGB", "Yellow"), 10);
and I wonder how I could get the  NearestNameColor of all elements in list  c ?


Thanks in advance

example let P be a permutation: P: = Matrix ([[1,2,3], [4,5,6]])
calculate P ^ 4567 knowing that the order of P = 20

Is it possible to import 3rd party python packages like pyGPGO (A  Bayesian Optimization package) available in github. Please reply. Thanks a lot 

Can Maple solve a (simple) nonlinear diophantine equation with restrictions on the variables?

For example, I would like to solve simple equations where all values of the variables are positive integers.

I have tried isolve. For example:

isolve({29 = x^2 + y^2, 1 <= x, 1 <= y})

and

{isolve}({29 = x^2 + y^2, 1 <= x, 1 <= y})

but they just give a warning (and no solutions):

Warning, solutions may have been lost

 

The uploaded worksheet contains a contourplot whose display I can't understand. Can you explain it?

Countourplot.mw

From Wikipedia,

However, when I plug the formula of u(x, t) into Maple, it doesn't seem to satisfy the PDE and is stuck evaluating.
 

restart

eq := diff(u(x, t), t)-k*(diff(u(x, t), x, x)) = f(x, t)

diff(u(x, t), t)-k*(diff(diff(u(x, t), x), x)) = f(x, t)

(1)

ic := u(x, 0) = 0

u(x, 0) = 0

(2)

"G(x,t):=1/(sqrt(4*pi*k*t))exp(-(x^(2))/(4*k*t))"

proc (x, t) options operator, arrow, function_assign; exp(-(1/4)*x^2/(k*t))/sqrt(4*pi*k*t) end proc

(3)

ans := u(x, t) = int(G(x-y, t-s)*f(y, s), y = -infinity .. infinity, s = 0 .. t)

u(x, t) = (1/2)*(int((int(exp(-(1/4)*(x-y)^2/(k*(t-s)))*f(y, s), y = -infinity .. infinity))/(pi*k*(t-s))^(1/2), s = 0 .. t))

(4)

`assuming`([simplify(pdetest(ans, [eq, ic]))], [t > 0])

``


 

Download InhomoHeat.mw

I tried to get this plot with equal axis for x and y ? 

G:=(x,y)->2*x^2+y^2-2*(x+y+x*y-1);
implicitplot(G(x,y)=0,x=-2..10,y=-2..10,scaling=constrained);

 

Hi there.

Is it possible to erase previous value of output field and to put new value into it?

For example, I want instead this:

to get something like this:

after first iteration

after fifth iteration

and after tenth iteration

How I can do it?

how to determine the matrix of a permutation by knowing the orbit in Maple?

I would like to know whether ganso optimization toolbox still available for maple. If so please provide the link for the same. Thank you.

Does anyone use a windows 10 code editor like, emacs, vim, or other with good textual layout, error and type checking? for building procedure files (libraries)?

 

I am using Maple2019.   I have been using a code region started in a worksheet and then exported to mpl file.   Not sure if I have really seen a debugger with breakpoints, step-in/step-out, type checking?   Am I just not looking in the right area?

 

Best practices from programmers of maple procedures appreciated.

Bill

 

The uploaded worksheet contains two examples of the use of VectorCalculus[VectorSpace]. The first example seems explicable but the second does not.

I have tried and failed to find a full, clear explanation of how a vector describing a simple vector, spacecurve, or surface in the default vector space is transformed to appear in a user defined vector space.

Can anyone direct me to such an explanation, so that I can understand Maple's processing within the uploaded worksheet and enable me to use this Maple feature to future advantage?

VectorSpaceTest.mw

First 249 250 251 252 253 254 255 Last Page 251 of 2132