Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

 

 

Hello,

I need to program a procedure to get the elements of a vector and sum it but as symbols. e.g.

V:=<1,2,3>;
conv2symbol (V):

output should be:                  =1+2+3

I want to restore this as a text/symbol to use it on a plotting procedure.

How can I do this?

TIA and happy holidays

Hello,

I would like to use the ResponsePlot function from the DynamicalSystems package, but it doesn't work for me (it gives an error message see below):

restart;with(DynamicSystems);
tr:=1/(1+1.000000000*s/Pi);
sys1 := NewSystem(TransferFunction(tr));
PrintSystem(sys1);
MagnitudePlot(sys1);
vin := Sine(1, 2);
Tsim := 10;
ResponsePlot(sys1,vin,duration=Tsim,color=[red, blue],thickness=2);
 

I do an order as follows,

> restart;

Hi merry xmas and a happy new every1.

I am trying to code the cocktail sort algorithm into maple but having some difficulties.

i coded bubble sort but cnt seem to code the cocktail sort any help would be appricited.

 

restart:
l:=[5,4,3,2,1]:
for j from 1 to nops(l)-1 do:
for i from 1 to nops(l)-1 do:
if l[i] > l[i+1] then
d:=l[i]:
l[i]:=l[i+1]:
l[i+1]:=d:
fi:od:od:
print(l);
 

Dear everyone,

I would be vey glad if you could help me in this.

It seems a picture inserted or plot command generated is not movable in a document ?

If I shrink the picture,that will be in the center of the page,but this is not good when I should print the document.

can't be dragged to anywhere?

 

I have a set of 12 odes. I solve for the 12 dependent variables using dsolve, numeric and then plot their solutions using odeplot. When I omit my highly nonlinear elastic force terms, everything is ok. However, when I include the elastic force terms, dsolve seems to work fine and yield a result, but I cannot substitute the solution coming from dsolve,numeric back into the dependent variables. I get the message "global 'x' must be assigned to a numeric value before obtaining a solution".

Dear All,

I would appreciate you advice on the following problem. It is related to getting maple to write its output in a cirtain way which the user prefers.

 

If I ask Maple to:

solve((-q*N3*X3)/e3 = (q*N1*X1)/e1 + (q*N2*X2)/e2, X3);

 

it will produce:

X3 = -((N1*X1*e2 + N2*X2*e1)e3) / (e1*e2*N3)

I can see by inspection that the solution above is equivalent to:

X3 = (-(N1*X1*e2 + N2*X2*e1) / N3) * (e3/(e1*e2))

Which is the prefered way of writing this particular equation in my line of work.

I tried to maximize a nonlinear objective function by mapple 10 but I was not able to obtain non negative solutions. Procedure followed by me is as follows

F:=(-ln(1-s1*(a+beta)/(K-alpha))+ln(1+s1*(a+beta)/(alpha)))/(a+beta)+(-ln(1-s2*beta/alpha)+ln(1+s2*beta/(K-alpha)))/beta;

si:=K*(-(ln(1-s1*(a+beta)/(K-alpha)))/(a+beta)+ln(1+s2*beta/(K-alpha))/beta):

G:=-(-(K-alpha)*ln(1-s1*(a+beta)/(K-alpha))+alpha*ln(1+s1*(a+beta)/(alpha)))/(a+beta)^2:

theta:=-a*(-(K-alpha)*ln(1-s1*(a+beta)/(K-alpha))+alpha*ln(1+s1*(a+beta)/(alpha)))/(a+beta)^2:

Hi there,

 

Can you please help me to plot delay logistic equation for

dy/dt=y(t)*(1-y(t-1))
y(0)=1/2  ALSO  y(1)=1/2
where t=0..100

Thanks for help

 

There is some advice how to solve a cubic trigonometrically  here, but nothing presentable seems to appear out of it. Could someone please demonstrate how to do that with maple for a general (monic) cubic. Thanks.

I realized the other day that I had not mentioned the Threads:-Add, Threads:-Map, Threads:-Mul and Threads:-Seq functions.  These are parallel implementations of the standard Maple functions, add, map, mul and seq.  They expect the sam

`<,>`(`<|>`(x+1, x, x, `...`, x), `<|>`(x, x+2, x, `...`, x), `<|>`(x, x, x+3, `...`, x), `<|>`(x, x, x, `...`, x+n))

but  ellipse between rows can't be added like the same way?

Matrix(5, 5, {(1, 1) = x+1, (1, 2) = x, (1, 3) = x, (1, 4) = `...`, (1, 5) = x, (2, 1) = x, (2, 2) = x+2, (2, 3) = x, (2, 4) = `...`, (2, 5) = x, (3, 1) = x, (3, 2) = x, (3, 3) = x+3, (3, 4) = `...`, (3, 5) = x, (4, 1) = `:`, (4, 2) = `:`, (4, 3) = `...`, (4, 4) = `...`, (4, 5) = `:`, (5, 1) = x, (5, 2) = x, (5, 3) = x, (5, 4) = `...`, (5, 5) = x+n})

Whenever I try and solve the equation x^4 + 6*x^3 + 3*x^2 + 6 = 0, I get crazy answers :(

Anyone know how to do it?

Thanks for any replies (Note: I am very new to MAPLE so please use basic language)

Hi

I'de like to see the solutions of the system of equations :

 

First 1863 1864 1865 1866 1867 1868 1869 Last Page 1865 of 2223