Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

In Maple 11, the expression pallette has the following availble for click and insert:

{-x   x<a

{x   a<x

This above is combined in a single brace. I would like to add a third line to the single brace set, but I can not figure out how to do this. I tried using the piecewise command and converting it to 2D but it errors out:

 piecewise(x < -1, x^3,-1 < x <1, x,x >= 1, 1-x)

Error, unexpected relational operator

 

Can one of you Maple Gurus' help?

 

Thanks!

I'm trying to write some mapplets for my professor (in Maple 11/12). Most importantly I need a program for working with group theory.  I've looked at the help menus in maple on the group package and all of its commands, I also read all of the maple programming booklets.  Still I have no idea how to do simple things like create the group Z2 or S3 and Z+ Z2.  I anyone has any idea on where more information on these issues might be.

In a recent post, a Maple user misunderstood what an assignment to f(x) meant. Since this is a common source of confusion, I thought it would be worthwhile to say more about this subject.

What is f(x)?
First, f(x) is a "function application" in Maple. It is f applied to the argument x. It is not really the same as what one thinks of as a function in mathematics. Consider a mathematical function such as sin(x+y). In Maple, this can be represented by an expression sin(x+y) or a procedure proc(x, y) sin(x+y) end proc (which can also be written in "operator form" as (x, y)->sin(x+y)). The expression or the procedure can then be assigned to a name such as g. The mathematical function is then represented by g in Maple, and not by g(x, y). Instead, if g is a procedure, then g(x, y) means "the procedure g called with arguments x and y". The "function" help page explains these concepts in more detail.

What is f(x):=x^2 in 1-d math?
Now let's move on to what f(x) := x^2 means. In 1-d math, this means, "Create a remember table entry for procedure f." This stores the expression x^2 so that when you enter f(x), that expression is automatically retrieved, and you avoid the expense of executing the body of the procedure . Similarly, if you enter f(1) := 5, then the value 5 is automatically returned when you enter f(1). Note that if you subsequently enter f(y), you won't get y^2 returned, unless f was already defined to return y^2 with input y. Remember tables are very useful and are heavily used by some Maple library procedures. However, the majority of Maple users do not need to worry about this feature and can do very useful things in Maple without ever knowing about it.

Maple is missing the 'standard' notation for the cumulative normal distribution and uses the error function instead (for historical reasons I guess).

However that would be quite convenient to read and formulae in a common notation.

Good morning.

 

I've this funny problem with maple11. I get an expression as output from a calculus, and I try to simplify it with simplify(%), but simplify don't simplify and give the same expression as result.

On the other hand, If I copy the expression and paste it as argument of simplify it work fine.

Anyone know why this happens?

 

Thank you

S.

ps: the expression to simplify (in fact is more simple than a simplification: there are terms equals but with different sign to cancel togheter) is

 

Hi

I seem to be running into problems with too much memory use during a large loop leading to maple stopping due to "loss of kernel connectivity".

 

At the moment I am "resolving" this by saving the variables that I need to continue with the run. Closing down maple manually and opening it again then restarting the loop from the index where I left off. Restarting resets the memory and I can run the code for another 1000 loops or so until I have to repeat the process.

 

If we consider the finite double sum I:=\sum{r=0}^{i}\sum{r=0}^{j}\frac{(-1)^k(i+j-r-s)! (\mu+\frac{1}{2})_{i+j-r-s}}{r!s!(i-r)!(j-s)!(k-r-s)!(\mu+\frac{1}{2})_{i-r}(\mu+\frac{1}{2})_{j-s}} where j positive integer j positive integer k positive integer such that 0\leq k\leq min(2i,2j) \mu a positive real Question: How we can use maple to justify that I is nonegative Thank you

Element(U,atomicweight) returns a mass, okay but then I choose

Element(Pu,atomicweight) does not return a mass like U but mentions it's a radioactive element and the closest is 244

Is that just the way Maple looks at radioactive elements? 

I recently installed the Student Version of Maple 12 on my Intel Mac OSX 10.5.3 and started to work through the Getting Started Guide. All went well until Section 1.7 Step 7: To plot the expression: 7. Right-click the expression and select Plots → 2-D Plot. On selecting Plots → 2-D Plot, only the arrow was displayed but no plot 2x - 9 → I tried many other methods to obtain plots without success. Using Plot Builder, Preview always produced a plot but Plot always only produced the →. Please advise what I might be doing wrong. Regards, Roger
Hi All, 

I am working on a numerical simulation of a system of ODEs that blows up when I do a numerical solution. One of my advisors says to multiply  the ODEs in my system by -1 to reverse the role of the eigen values. I only vaguely understand this. Would you be able to point me in the right direction to figure this out? When I do this (-1 in front of two of the ODEs), my results are much more stable. I will attach the ODE system here. The parameter values follow.

 Thanks for any input,

Steve

 > Restart;

How can one avoid getting a > at the beginning of each line when pasting in several lines of Maple code taken from some other word processor?  I am sure this has been answered many times, but I cannot find the answer now.

Why can I only get the solution  -(-y + 2 x) ^3  (y + 2 x)  from 2) and not from 1).

I am doing the same thing in both of them but from 1) I get "Warning, solutions may have been lost" when Itry to solve for _F1

I want to go from A-B-C with commands (as in 1) ) without having to retype the expression

1)restart;

Hi all,

In Maple, I am integrating a function involving the "erfc" function,

the final integral result has no explicit form, but should be able to
representted as a "\Phi(.)" function, where the "\Phi(.)" is the Gaussian
distribution function (cumulative).

Is there a way to force the following integral to output in the form of
"\Phi(.)" in Maple?

Thanks

I'm attempting to find where the two peaks are given the following expression.

g(x,y):=(3 x^(2)*y^(2)+4 x^(2)*y+21 x^(2)-4 x*y^(2)-72 x*y-128 x+21 y^(2)+128 y+297)/((x^(2)+2 x+2) (y^(2)-2 y+2) (x^(2)-8 x+17) (y^(2)+8 y-17)):

There are two peaks found by viewing the graph of the expression above.  I've tried using the second derivative test, fsolve with no success. 

This is the command for fsolve i'm trying to use:

fsolve({(D[2](g))(x, y), (D[1](g))(x, y)},{x = -1.5 .. -.5, y = 1.7 .. 1.8})

Bonjour,

J'ai une erreur lorsque j'essaie de résoudre un système d'équation différentielle : "Error, (in DEtools/convertsys) unable to convert to an explicit first-order system" et lorsque je simplifie le système j'ai une erreur : "Error, (in dsolve/numeric/DAE/checkconstraints) the initial conditions do not satisfy the algebraic constraints".

Merci d'avance pour votre aide

First 2031 2032 2033 2034 2035 2036 2037 Last Page 2033 of 2224