Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I am trying to do animated plots of vector fields and I'm running into a problem with the fieldstrength parameter.

Basically the way a typical vector field plot works is that every time it plots a vector it scales it by some amount based on field strengths of the other vectors on the plot.  So for example, if you use the "fixed" option it scales arrows by 0.9 times the maximum arrow size for the grid.

I have a nonlinear algebraic system with x ,y unknowns and beta parameter (0<beta<1); I want to plot in 3d the triplets (x,y,beta), where x and y are the solution of system for ten different values of beta.

For now I am able only to solve the system with fsolve, but I don't want to copy the solutions with copy and paste, because in the future I have to give to beta much more values than 10. Can anyone help me, please? This is the program:

F:= <<-3u|u|u|u>, <u|-3u|u|u>, <u|u|-3u|u>,<u|u|u|-3u>>;

I am trying to create a simple loglogplot, but i am getting an empty plot error. Here is my code:

 

with(plots);

 

c:=2.998*10^8;

I'd like to know how to insert the following differential equation in maple 12 (or older doesn't matter that much) without incuring a - Error, recursive assignment -

Plaese note that, in the orignial text, a dott is added over the variable x1:

 x1(dot) := -2*a*x1*(x1-1)+(1-b)*x0

and that this differential equation describes change in the number of entities (x) that move through state 1, there a couple of more equations but i can't figure out how to insert the above one in maple correctly.

 

please help me here. I want to simplify the expression:

 

(-f(xn)^2*f(zn)+f(xn)^2*(D(f))(zn)*zn+f(xn)*f(zn)^2-2*f(xn)*f(zn)*(D(f))(zn)*zn+(D(f))(zn)*xn*f(zn)^2)/((D(f))(zn)*(f(zn)^2+f(xn)^2-2*f(xn)*f(zn)))

 

I just compied it directly from maple

Hi, I'm running into difficulty regarding plotting an array I have.  I have an array of 500 elements and each element corresponds to an even integer.  Hence I want to plot for x=1..1000 where array[1] is plotted at x=2, array[2] is plotted at x=4 etc, and the odd numbers are left empty.  How do I do this.  I tried

fn := proc(n)
  global array:
  if n mod 2 = 0 then return array[n/2]:
  end if:
end proc:

I got a big problem with one kind of integral function. Now, I am using Maple 8 or Maple 11 to get some results from my research topic. However, when I took three times integral like :

f:= Int(exp(-t^2),t = 0 .. infinity)+Int(Int(2*Int(.1*exp(-.25*(u-s-k)^2)*exp(-(-.5*u-.5*s-.5*k+t)^2)*exp(.25*(u-s-k)^2)*exp(-.1*k),k = 0 .. u-s)*exp(-u^2)*u,u = s .. t),t = 0 .. infinity);

After that, I try to draw the grahp of the above equation.

plot(f,s=0..1);

Hi

I am trying to learn the logically equivalent command in Maple.

[(p->q)^(q->r)]->(p->r)

I wish I could post my maple file.

Any suggestions are going to be highly appreciated.

Thanks
 

I have found the distance between two points and considered the endpoints of the diameter of a circle I found the center points.  Now I need to graph.  How?

F := matrix(2, 2, [0, 1, 0, 0]) C := matrix(2, 1, [0, c]) G := matrix(1, 2, [1, 0]) D := m The matrix Riccati equation: dS/dt=FS+SF^T-SG^T(DD^T)^(-1)GS+CC^T where ^T denotes transpose, ^(-1) denotes inverse. Given S(0), what is S(t), a 2*2 matrix, in either analytic or numeric solution? To simply a little bit, let's assume m=c=1, S(0)=0. Many thanks.

I run Maple 12 Student Edition and I cannot find the  "advanced query builder" to import a database file even though it is supposed

to be included in Maple 12?  I have also looked at the "The Maple Database Integration Toolbox"   but it seams that it only

supports Maple 9.5 and not 12 ? plus it appears to be rather expensive?!  I am also reading that Maple 12 will:

 

I am wondering if there is a way to get rid of the extra space around the gridlines, especially in "axes=boxed" mode.

For example, if y=0 is my lowest tickmark, the plot box extends slightly below the y=0 gridline. I would like the plot box to fall exactly on the y=0 gridline (like Matlab would do it).

Anyone know a solution to this?

Thanks.

I am trying to set up a linear optimization problem where I have to set quite a few (and I mean perhaps dozens) variables to zero.  How do I do that without explicitly typing each and every variable and setting each one of them to zero manually?  I am using the Optimization package on Maple 12 (student edition) and invoking the LPSolve routine. 

Thanks!

-bas

 

Hi everybody.

 

I'm using Maple these days to generate C code. More precisely, I use Maple to calculate high order derivatives. For example, I know that :

dt( u(x,t) ) = a(x) * dx( u(x,t) ) + b(x) * dx( p(x,t) )

dt( p(x,t) ) = c(x) * dx( p(x,t) ) + d(x) * dx( u(x,t) )

and I ask Maple to calculate the 5th time-derivative of u using these 2 properties. But in fact, I use 8 variables instead of 2 and PDEs are far more complicated.

Finally, I get thanks to Maple expressions of time-derivatives for my 8 variables.

 

First 1956 1957 1958 1959 1960 1961 1962 Last Page 1958 of 2219