Maple 12 Questions and Posts

These are Posts and Questions associated with the product, Maple 12

I used the folowing command to solve a system of equations:

fsolve(equations,variables);

then the results were on the following form:

{u1=.1,u4=1,u5=3,u2=4,u3=0}

but I want to rearrange as:

{u1=.1,u2=4,u3=0,u4=1,u5=3}

please help me and i will very grateful for you... 

How do i plot a graph  of  (H .vs. X/(2.Pi.sqrt(2))) for different values of time =t

H is the film thickness

When I plot my values, I get a normal graph of H .vs. X, but I need to see the above mentioned graph.

Please suggest solutions.

The command which I wrote for my graph generation, looks like this:::::::::

> IBC := {h(x, 0) = 1+0.1e-2*sin(x/sqrt(2)), (D[1](h))(0, t) = 0, (D[1](h))(2*Pi*sqrt(2), t) = 0, (D[1](D[1](D[1...

I solved the canonical equations as piecewise functions and I wrote the Hamiltonian using these piecewise functions. Now the Hamiltonian is function of time (tau). I can not plot this Hamiltonian. Where is my mistake, please? Below is the Maple program. I mention that I tried to simplify the Hamiltonian, but without succes. Thank you for helping me.

                    ...

> solve({G*{(1-v)*s1+v}+H*{(1-v)*s2+v} = n1, G*{(1-v)*s1*w^s1+v*w^s1}/w+H*{(1-v)*s2*w^s2+v*w^s2}/w = -p*(1+v)*(1-2*v)/(e*w^beta)+n2}, [G, H]);
print(`output redirected...`); # input placeholder
Warning, solutions may have been lost
[]

I've been using LagrangeMultipliers to solve a problem. Solutions returned involve RootOf.

What I want to do is extract the expression within RootOf() so that I can do fsolve() on that.

The expr from RootOf is a 6th order polynomial in _Z.

I've tried convert(RootOf(...), radical), but it doesn't work very well on polyhnomials of order greater than or equal 5.

Any suggestion(s) for this extraction that I want ?

Hello,

I want to fit Data with a model that calculates the values by solving an ODE numerically.

solL:=dsolve({Lpde,ICS}, numeric, method=rkf45, parameters=[lambda[0],T[m]]);

Next, I created a procedure.

ans:=proc(p1,p2) solL(parameters=[p1,p2]); rhs(solL(3600)[2]); end proc;

This is giving a length L(t) depending on parameters lambda[0] and T[m]. I would like to fit this model with my data. These data are given for a fixed time...

I am having a problem with variable assignment.

output 15 should be:

test :=[1]

[2]

[1 1]

At some point, the array test is being overwritten even though in my proceedure I use only local variables.

How can I create a vector using a step index, for example, using the function output f:=1/i+1 and alternate it with a zero

 that produces a vector such as,  0,1/2,0,1/3,0,1/4,0,1/5.....?

Every attempt I tried failed.

I am trying to use second quatized operators in the Maple Physics package.  These operators obey the commutation relations:

[psiA(x1),psiB(x2)] = Dirac(x1-x2) and [psiA(x1),psiC(x2)] = 0 for example.  The commutator therefore depends on the arguments of the operators.

Using:

> with(Physics);

> Setup(quantumoperators = {psiA,psiB,psiC},algebrarules={%Commutator(psiA(w),psiB(v)) = Dirac(w-v),%Commutator(psiA(w),psiC(v))=0})

dear community

I have  problems 1): in solving "rational difference equations" in Maple.

what is the code for solving this kind?

2): plotting difference equations

3):openf and printf command" how I make my results in the same folder as a table?"

Thanks


hello i  hope if you can help me.

 i have a problem solving this recurrence relation and how to insert if statemen (about  with for loop

and using the series and the solution should be

1-2y(2)-6y(3)-14y(4)=0

y(2)-y(3)-11y(4)=0;

-y(2)+3y(3)+8y(4)=0;

hi i am seeking help for a little problem The question is a part of my coursework but it doesnt make sense to me i dont know how to use maple to construct a model can you please help thanks. On board sailing ships or warships, a lookout stood watch in a crows nest high on the main mast. b) Construct a mathematical model to show how far a lookout can see. Clearly indicate any assumptions you make and define any parameters you use in your formula and in the construction of your model. c...

Hello,

As a new user I'm having some trouble using indexes in matrix and vector operations. For instance, I can declare three vectors from the 3 by 3 matrix E using index i: 

 

for i from 1 to 3 do Eigenvector[i] := Column(E, i) end do

 

This creates 3 vectors with indexes 1 to 3 out of the matrix E as expected. However, Maple seems unable to transpose one of the indexed vectors:

countries.zip

I thought I'd create a partial map of the middle east using a procedure with Maple.  Let me say it's not the quickest thing to do when the data format is not particularly favourable. 

I downloaded data from Coastline Extractor from ngdc.noaa.gov/mgg/coast.  This gives you point data sets.  You can then use maple to pointplot...

Hello,

Sorry if the question is too naïve: I'm new to Maple.

I want to find the solutions, both in the real line and in the complex plane, of the following transcendental equation:

x+s*exp(x * sigma)-mu-s=0

mu is positive (say mu=6) and I am interested in the case in which s is both positive and negative (say, s=1 and s=-1).
By plotting s*exp(x * sigma) vs. mu+s-x (x real), and also using fsolve, I can see that there are two solutions when s=1 ...

First 23 24 25 26 27 28 29 Page 25 of 32