MaplePrimes Questions

Dear sir i  want the contour values  automatically display on the contour.

Hear is the code and sample contour plot. 

contourplot(x^5-y^3,x=-5..5,y=-4..3,axes=boxed,contours=10);

Hi all,

What else could I try if I encounter this error?

Warning:  Incomplete separation.

--------------------------------

 

I read the pdsolve help page, where it says I should have a solution with this warning, but I got nothing but the error.

 

Dear Maple users

I am working on a problem, which basicly is dealing with putting n identical marbles in k different boxes. I need to run through all possible combinations and do something with it. The latter is unimportant. Mathematics say there are binomial(n+k-1,k-1) different combinations. I have already produced a recursive procedure to solve the problem and it is displayed below. I have placed a counter in the procedure to control if the procedures get through...

Hello,

I would like to assign a value I got from using the command 'Maximize'. What I gained as an answer is of the following form:
test:=[1234124, [t=124124124]] 

Now my point is to assign both these values to variables, which I can do for the first like:
first:= test[1];

But I just can't find out how to assign the second value.
I was trying it out by using the command 'rhs' but that doesn't work (although, not for me).

Probably a silly question, but yeah..thanks for a reply.

Frank 

Dear all,

I'm trying to substitute a combination of variables in an equation that is partly covered in a summation.

For example consider the equation with two variables A and B, and two function W(t) and q(z):

eq1:=A*B*(sum(W[n](t)*q[n](z), n))

now I want to do the substitution:

ptr_mplprims.mwHello,I am trying solve  a travelling force problem with pdsolve, but I cannot obtain the second derivative of the solution. I obtained the first derivative, with help from another post (http://www.mapleprimes.com/questions/80997-Derivative-From-Numeric-PDE-Soln#comment81512). When I tried doing the same thing for the second derivative it didn't work. Any sugestions would be helpful. Thank you!!!

Hello all, 

I have the system which consists of three linear first-order differential equations (see below). First, I solved this system numerically backward in time by implying the final condition for the variables at time t=T (i.e, x(T=4)=10 and so on) and depicted the graph. Then, from the obtained solution I found the values of the variables at time t=0 and solve once again the system of ODE's but forward in time with...

Say I have the equation:

f:=x^5+a*x^4+b*x^3+c*x^2+d*x+e

and I want to introduce an identity namely

x^3:=1

Since

subs(x^3=1,f)

or

eval(f,x^3=1)

doesnt work I wonder what is the most elegant way to implement this?

I want to integrate a function f(z) from z=0 to z=Z0 (say Z0=1000) and plot it. How do I do that in Maple?

Note: analytic integration of f(z) is not possible.

Hello,I just can't find out whether it's possible to plot the x-axis 'below' the graph? Normally speaking the x-axis is plotted at y=0, but I want my x-axis to be plotted for example at y=-5 or y=-10. Can that be done?Greetings,Frank

Why does maple not simplify this expression any further:

-4*cos((1/5)*Pi)*m^3-4*cos((1/5)*Pi)*n^3-4*cos((1/5)*Pi)*p^3-4*cos((1/5)*Pi)*q^3+4*cos((2/5)*Pi)*m^3+4*cos((2/5)*Pi)*n^3+4*cos((2/5)*Pi)*p^3+4*cos((2/5)*Pi)*q^3-10*cos((1/5)*Pi)*p*q^2+10*cos((2/5)*Pi)*m^2*n+12*cos((2/5)*Pi)*m^2*p+12*cos((2/5)*Pi)*m^2*q+12*cos((2/5)*Pi)*m*n^2+10*cos((2/5)*Pi)*m*p^2+12*cos((2/5)*Pi)*m*q^2+12*cos((2/5)*Pi)*n^2*p+10*cos((2/5)*Pi)*n^2*q+12*cos((2/5)*Pi)*n*p^2+12*cos((2/5)*Pi)*n*q^2+12*cos((2/5...

with(PIR):
RPP:='PIR/homalg';

'homalg/default':=RPP;

Error, illegal use of an object as a name


var:=[I];PIR['Pvar'](var);

test1 := (3*f-f^2)*(Diff(g, x))+(-f+3*f^2-2)*(Diff(g, y))+(2-f^2)*(Diff(g, z));

test1r := solve(test1=0,f);

 

how to solve this in terms of Diff(g,x), Diff(g,y) etc.

after solve, it is like a bug, because result is Diff(1,x) etc where is g?

 

Hi,

Say for a 126 by 18 symbolic matrix, substituting numerical values into the matrix DD1 takes about 10 seconds (using time() );

for a 62 by 16 matrix, take just about 1/5 second.

By when the matrix is about 254 by 20, it take much longer! More than a minute!

I never actually waited how long, but I am wondering if there is something wrong? Am I using the right command?

Say the matrix is DD1 with numpar:=[x=0.3,y=0.2,z=0.98,....]

HI, I have a doubt to how to execute the program with an example. gaussseidel:= proc (A,b,x,p)  local i, j, m, soma, e, g, C,   xk:= Vector(n),  k:=0;  for i from 1 to n do   g[i]:= b[i]/a[i,i];  for j from 1 to n do   if i=j then     C[i,j]:= 0;  else   C[i,j]:= - a[i,j]/a[i,i];  end if;  end do;  end do ;  while  (x - x0) > p do  for i from 1 to n do   soma:=...
First 1560 1561 1562 1563 1564 1565 1566 Last Page 1562 of 2434