Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

I was wondering is there an easier way for me to solve an Equation Involving an Absolute Value?


 

Example: Solving an Equation Involving an Absolute Value

 

x^2-3*x = -4*x+6

x^2-3*x = -4*x+6

(1.1)

"(->)"

[[x = 2], [x = -3]]

(1.2)

-x^2+3*x = -4*x+6

-x^2+3*x = -4*x+6

(1.3)

"(->)"

[[x = 1], [x = 6]]

(1.4)

"ex7(x):=|x^(2)-3 x|+4 x-6"

proc (x) options operator, arrow, function_assign; abs(x^2-3*x)+4*x-6 end proc

(1.5)

"->"

 

``

NULL


 

Download Absolute_Value.mw

Mapple doesn' work at document mode.How can i solve the problem.(My Os is Win 10 )

Hi!
I am trying to solve ODE with bvp[midrich], and I need to prove the validity of this method. 
Where can i read about realization of bvp[midrich]. What scheme does it use? Аre there any articles on this subject?
 

 

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

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.

First 418 419 420 421 422 423 424 Last Page 420 of 2097