MaplePrimes Questions

For a question i'm trying to make for my students i need to solve a system of two linear equations, of which the coefficients are determined by predefined random variables. After that i need to assign the solution of the system to two variables. So far i have attempted two approaches, neither of which seem to work:

Solve using inverse matrix:

$oplossing=maple("with(LinearAlgebra):Matrixinverse(Matrix([[1,1],[tan(Pi*alphadeg/180),tan(Pi*betadeg/180)]]))*Vector([$F*sin($gamma),$F*cos($gamma)])");...

Hi everyone,

I am new to Maple, and require the use of grtensorii in my research. The package is installed correctly and will open fine, but it has troubles in finding the metric files to use. When I try to qload the metric I want I get the error message:

Error, (in qload) Could not find metric perturbed.

I have spoken to some colleagues who ran into similar issues making grtensor compatible with Maple 15, and they ran the commands

unprotect(sqrt);

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]]

Hi, all

I want to get some formular by the maple. I have some S domain transfer function, want to transform to the Z domain, but I don't know the way to realize it, is there any library function like "c2d" as in the Matlab? but "c2d" can not deal with the expression.

Thanks for replay to me!!!

Hi, I am hoving trouble understanding how variables are meant to be declared. I have global variables that I wish to use that are tabled values such as m[1], ie: m subscript 1.However, when declaring parameters, local, or global variables within a procedure it does not allow them to be tables values. Why is this? and How should i be declaring these values?for example:Range:=proc(b[1]).... b subscript 1 will generate invalid parameter declarationRange:=proc(b) local c[1]...c subscript...

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

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  -

 

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)?

I got Maple 17 a few weeks ago and it has been helpful in my learning of calculus, but not as much as I had hoped.

 

I also bought the Calculus study guide which is a big disappointment. For example, I tried using the integration methods tutor for the integral  cos(5x).

The correct answer is  1/5 sin(5x) + C and is found with U-substitution. 

With the tutor, I entered cos5x into the function box.  cos(5x) does not work....

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

First 1563 1564 1565 1566 1567 1568 1569 Last Page 1565 of 2427