Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

In a theme similar to the movie Matrix a little procedure to create falling random number animation, and in this example 0's and 1's hence the name binary rain.

MatrixRotaterows := proc (arows, bcolumns, randstart, randend, iterations) 
local a, i, b, c, d, e, f, g:
a := Matrix(arows, bcolumns, 0):
for i to iterations do
  b := Matrix(1, bcolumns, rand(randstart .. randend)):
  a := ArrayTools:-CircularShift(a, 1, 0):
  a[1,..] := b:

Good Morning.

I have problem when i want to graph my equations. I received this error: 

Error, (in plots/odeplot) curve is not fully specified in terms of the ODE solution, found additional unknowns {t}
I would like to know how i can solve it
Thanks in advance 

...

Dear All,

I ran into a problem, which I can not resolve. 

> Eqs := [x*0 = y*0]; Vars := [x, y];
[0 = 0]
[x, y]
> solution := solve(Eqs, Vars);
[[x = x, y = y]]
> Eqs := [x*b = y*b, b = 0]; Vars := [x, y];
[x b = y b, b = 0]
[x, y]
> solution := solve(Eqs, Vars);
[]

Hi, my professor wants our graphs to be labeled (which is reasonable). How can I label the graph I made this way:

 

>inequal({x[1] >= 0, x[2] >= 0, x[1]-3*x[2] >= -3, 2*x[1]+3*x[2] <= 6}, x[1] = 0 .. 3.5, x[2] = 0 .. 2.5)

Thanks.

Hi all,

I noticed that there are not many applications which deal with the finite element method with Maple. I attached in the file below a code for the magnetostatic probems and which allows the calculation of the magnetic field in a permanent magnet synchronous machine.

mafem.zip

I hope this work will help many users of maple in the numerical analyzis with the finite element method

I posted...

Hi,

I am trying to solve for the 2D temperature distribution (heat flow) through a brick, using finite element analysis.  I created a 341*341 matrix for each nodal equation, and a column vector that is the solutions to each equation.  I want to find the temperature at each node using A^-1 * B or LinearSolve(A,B).  My problem is that when I do this the entire solution vector is 15.  I have a constraint where the bottome nodes are all at 0 degrees. ...

I have an array of 2 vectors in a do loop, the vectors being i (path number) and j (time).

i goes from 0 to ntime, and j goes from 1 to ntime+1.

The array is called Spot[i][j] and i need to find the average of this array but dont know how.

Any help would be appreciated!

Thanks!

Hello

Can anyone help me  please in how to compute the Big oh in this example?

since I didn't get any exact solution.

The AddVertex command (in GraphTheory) does not seem to copy any attributes that were set in the original graph.

with(GraphTheory):
G := CompleteGraph(5):
SetGraphAttribute(G,"graphAtt" = 1);
SetVertexAttribute(G,1,"vertexAtt" = 1);
SetEdgeAttribute(G,{1,2},"edgeAtt" = 1);
H := AddVertex(G,6):
GetGraphAttribute(H,"graphAtt");
                     ...

Hi guys,

I would be ever so grateful if someone could asssist me with the following matter.

I am trying to integrate the following expression but maple does not seem to be able to do it directly

 

Int((1/(2*Pi) + Q* cos(k*phi))^2/ (1+ beta^2*((1/(2*Pi)) + Q* cos(k*phi) )^2),phi=-Pi..Pi);

 

So I convert the expression to an exponential form as follows and evaluate that

 numerator:=(1/2/Pi+Q*(1/2*exp(I*k*phi...

HW_6.5.mw

I just want to know how i could label the expressions that are generated by executing the loop,

like A1 = .....

A2= .....

If you see the file above , the for loop gives out several expressions in terms of c and t , the equations generated are correct but i want to give each expression a label like A1,A2,A3 when the output is generated

I am trying to make substitutions into a matrix using the subs() command, but it does not work.

for example

with(linalg):
A:= matrix([[a,b,c],[d,e,f]]):
B:=subs[inplace](a=1/L,b=-1/L,c=1,d=-1/L,e=L,f=1,A);

                                         ...

Back when I was working at the University of Waterloo, I found several copies of a VHS tape sitting on a dusty bookshelf full of old Maple boxes and manuals. The tape's cover had a line drawing of Issac Newton on it and the title "Maple V: The Future of Mathematics".

There was...

can any one please help me to know the no.of default iterations in isprime() function.

 

Thanks in advance.

GANESH.

Maple 15 will soon be released (looks like sometime in April based on the last two relese dates).  It also looks like Maplesoft, recently, has settled into a happy release date schedule of April and October where we can most likely expect a major release or update to be available. 

It seems ironic that the even releases of Maple seem to be the most successful.  Maple 10 was more so than Maple 11 but probably due to it's long 2 year stay before...

First 1725 1726 1727 1728 1729 1730 1731 Last Page 1727 of 2234