Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I'm very new to Maple and can't figure out how to do this:

I have these possibilities:

for 1 - [1],[2],[3]

for 2 - [1,2],[2,1],[1,3],[3,1],[2,3],[3,2]

for 3 - [1,2,3],[2,3,1],[3,1,2],[3,2,1],[2,1,3],[1,3,2]

and I want to find all the possible combinations when they are in, say, the order of [3,2,1]

eg.

[[1,2,3],[1,2],[1]],

[[1,2,3],[1,2],[2]],

[[1,2,3],[1,2],[3]], 

[[1,2,3],[2,1],[1]]

I ran into an interesting situation with numeric integration.

For a simulation task I need to evaluate an overlap integral of a pair of 3-d ellipsoids which have a certain aspect ratio and the axes of which are tilted against each other. The distribution in each plane is Gaussian, but with largely differing sizes. While I have an analytic expression for the result; the integration (along a certain direction) cannot be done analytically and so I integrate numerically....

hello guys , i have an autonomous system , maple give me this warning when i want to compute its fixed points !

 

thank you for your time

 

mm.mw

Hello every one,

I am facing problem with for loop. Please have a look.

My code is

restart;with(PDEtools):

Eq1:=diff(u(eta,t),t)=C*diff(u(eta,t),eta$2):

BCs := {u(0,t)=sin(t), u(L,t)=0}:

ICs := {u(eta,0)=0}:

L:=600:

sol:= pdsolve(Eq1,ICs union BCs,numeric,time=t,range=0..L);

for i from 0 to 600 do 

for t from 0 to 3 by 1 do

for C from 0 to 1 by 0.1 do

p0[C,t]:=sol:-value (C,t):

sol[2] := [[2, 1], [3, 4]];

for i from 1 to nops(sol[2]) do

sol[2][i] := [seq(op(k,sol[2][i]), k=nops(sol[2][i])..1, -1)];

T := T + table([seq(op(k,sol[2][i])=op(k-1,sol[2][i]), k=2..nops(sol[2][i])),op(1,sol[2][i])=op(nops(sol[2][i]),sol[2][i])]);

od;

final result should be

1 2 3 4

2 1 4 3

I'm fairly sure I discovered a bug with the Maple 17 Calculus Integration tutor.

I was working on int((x^2+2*x)*cos(x), x);.

The first step that the tutor wants you to do is to rewrite the integral by factoring out an x from the first term, and changing cos(x) to -sin(x).

The next step is to rewrite it again, this time changing sin to cos, making the intergal  -x(x+2)cos(x)

Next, the tutor distributes the X again, making the integral -(x^2+2*x...

Hello, Is there a way to assign mutiple variables at once using the 'if-then' statement?For example: if A:=3, then B:=434 and C:=52 and H:=2039So that I fill in these variables B, C and H one time and then when A is chosen to be a value, all other values are assigned automatically. Like filling in a table actually.In a simple 'if-then' statement I assign one variable, which works well.a:=10if a:=10 then b:=4elif a:=20 then b:=3end if:b ends up being 4I don't know how to add variable C and H, without getting an error.It should be very simple in my opinion, but I just don't see it.Greetings,Frank


EXCERPT  WITH  ISOLATE  QUESTION  -

 

Voting is open for the first individual prize to be awarded as part of the Möbius App Challenge.  The winner will receive a MacBook Air! 

Here are the finalist Apps:

Do maple have hashtable ?

i would like to use for premutation group

a := f(x,y) = f(y,x)

how to get x and y from left side f(x,y)

and get y and x from right side f(y,x)?

Hello, everyone. I would like to know how to use fsolve results in future commands.

I have the resulting values for the variables a,b,c,d and e and would like to use them to calculate all the X's.

Any help would be appreciated. I also uploaded the file.




Equações_H,_S_e_G_(r.mw

How would one plot the intersection of the surface z=3.5 and the surface described by a matrixplot

Here is an arbitrary matrixplot surface for an example.

matrixplot([[3, 4, 5, 1, 1, 1, 2, 3, 2, 1, 7, 8], [2, 3, 4, 1, 2, 1, 2, 1, 2, 1, 2, 5], [7, 8, 7, 6, 7, 8, 4, 5, 3, 2, 1, 2], [2, 1, 2, 4, 5, 6, 5, 6, 7, 6, 5, 6], [2, 3, 2, 4, 5, 4, 5, 6, 7, 6, 5, 4], [9, 8, 7, 8, 9, 8, 9, 8, 7, 8, 9, 8], [9, 8, 7, 8, 8, 8, 7, 8, 6, 8, 7, 6]]);

Technology is changing the face of education. An obvious statement, of course. Everybody from students to instructors to parents will agree. Over 40 years ago, the introduction of the pocket calculator allowed us to change the focus from menial calculations to applying our knowledge to solve problems and discover the power of mathematics. 

Since then we have seen leaps from innovation to innovation. The personal computer. Computer Algebra systems. Tablet computing....

In the following code, why is B returned unevaluated?

restart:
A:= a:  B:= 2:
F:= _a-> eval(`if`(A,B,C), a= _a):
F(true);
                               B
eval(B);
                   ...
First 1480 1481 1482 1483 1484 1485 1486 Last Page 1482 of 2256