MaplePrimes Questions

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)?

I am trying to shade the area under an arc between it and the x-axis but I can't get it to work. I have used "filled=true". According to my interpretation of the plot tools help page it should work. Any suggestions. Thanks much!

How do i solve this PDE with initial and boundary condition

1. δθ/δζ = δ^2θ/δy^2

At y=0, δθ/δy=0

At y=1, δθ/δy=-µ

At ζ=0, θ=1

I would like to solve the following equation that I call equ?

> equ: = tanh(s)=C3*s

To do this I use the code “solve” to solve it. C3 is constant.

> sol: =solve (equ,s)

RootOf(_Z*C3*(exp(_Z))^2+_Z*C3-(exp(_Z))^2+1)

I then get the RootOf expression. How to get its mathematical expressions? I am really interested in getting it.

Please help me in anyway you can as I am completely stuck

Dear Maple users

The Statistics package contain a Histogram command which can produce a linegraph (or what you call it). Ex:

 

with(Statistics):

A:=[3,5,7,2,11,2,1,10,6,15]:

Histogram(A,discrete)

 

It will calculate the frequency of each of the outcomes as they appear in the list and will plot them accordingly: 

How to prove that 

sum(binomial(n, r)*binomial(k+r, n), r = 0 .. n) = sum(binomial(n, r)*binomial(k, r)*2^r, r = 0 .. n)?

Maple calculates the LHS and RHS, but I cannot compare these with Maple for each n::posint and each k::posint s. t. k>= n. The question was asked in Mathematics SE. I don't understand whether it is answered there.

I am trying to see if Maple can help me find a closed form for an infinite series. I do this:

 

restart:

s:=Sum(n^2/((Pi^2*n^2+beta^2*epsilon^2)*(exp(n))^4), n = 1 .. infinity);

value(s);

 

Maple returns with:

First 1554 1555 1556 1557 1558 1559 1560 Last Page 1556 of 2427