MaplePrimes Questions

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:=...

I have problem with externall calling. I need to return from java 2-dimensionall array. In java class it works fine, but I can't find proper definition in Maple, done by define_external function. I tried also return 1-dimensionall array, but there I didn't have problems.

 

My code in java looks like:

public class ConcatTest2{

public static int[][] Test(){

int[]][] ret = new int [2][1];

How do I know how many Eulerian circuits in this graph and what trajectory?

Thanks..

Hello, everyone, I have written 13 equations, and some of them contain 88 items at least, so they are complicated. When I have executed the program and estalished input and output ports, I click the button "Generate MapleSim Component", it takes a while for running, but there is no MapleSim Component generated in the GUI interface, strangely, no error information appears at the same time, I cann't figure out what's wrong with it? Could someone help me out? Thank you. This mw file is attached.

I'm really struggling to do some linear algebra over Galois fields in Maple with LinearAlgebra package. I looked at the documentation for LinearAlgebra[Nodular] and LinearAlgebra[Generic], but i failed to get even simple examples to work. For instance as simple example over GF(2) I tried the following code which in my understanding should return the vector [1,1,1], instead this however simply no result seemt to be computed:

restart;
#with(LinearAlgebra[Generic]):

How can I install package "gravitational" for system Win7 (maple 15 and maple16)?

First 1556 1557 1558 1559 1560 1561 1562 Last Page 1558 of 2430