MaplePrimes Questions

Dear Maple users,

I am embarassed to ask your help, but having downloaded the update for the AEM-book for Maple 13, I am unable to activate it so I can open it in Maple 13.  I have followed instructions to the letter, but the software says it cannot find Maple 13 in my programmes folder. Can you assist? Any help greatly appreciated. Thank you.

Sincerely,

Audrey Kirfoot

 

Dear All,

This's my first post on this website; I'm hoping I can get some useful ideas on how to approach a problem where a PDE is coupled with an ODE, with initial and boundary conditions.  I'm using Maple 12.

The PDE is,

PDE:=diff(g(x,t),t)=diff(g(x,t),x$2)

the ODE is,

ODE:=diff(f(t),t)=g(1,t)-f(t)

The initial and boundary conditions are,

IBC:={g(x,0)=0,f(0)=.2,D[1](g)(0,t)=0,D[1](g)(1,t)=-g(1,t)+f(t)

I'm trying to solve and plot,

sys:={PDE,ODE}

sol:=pdsolve(sys,IBC,[g,f],numeric,time=t,range=0..1)

<p>Once I have defined a complicated expression, and then I realize that the variable x should have initially been named r , can I change x into r in such a way that when i view the expression, it is expressed in terms of r rather than x ?? Without going back and changing EVERY x into an r ??  If i do r=x or x=r and then view the expression it still displays everything in terms of x rather than r.</p>
<p>Also, maple's fortran code generator renames my variables s~ ,t~ and g~ into c1,c2 and c3,  </p>
<p>can I customize what it renames them as ??</p>
I was exploring the Optimization package through Maple Help to find a solver that would be capable handling the task of minimizing an a set of otherwise linear equations that contains an absolute value term. Any suggestions?

 

Hi how do I de-assign a variable? Say I have put A:= 3 sin(x)+2 And find that opps it should have been cos(x), not sin(x).
:-)
Gustav

how can I make a recursive loop to automate Getting a dimension from sevral sketches in one part?
in my solidpart i have 20  identical sketches each has a dimension called cord and  name fan  but numbered from 1 to 20   like cord@fan1@PART.PAT,
cord@fan2
@part.part
I tried to create a loop to read these dimensions from the part in the following method but it did not work.
for  i  from 1 to 20 do

hi,

i'm lookin forward for a latest algorithm in artificail intelligence so that i cld take seminar at my college,cld u help me?

Hi!

I make an animation in Maple, and save it as an HTML file.

When the animation shows on the web, it runs one time, and then starts again.
And it continues to run over and over again.

How do I program it to only run one time and then stop showing the function.

Yours sincearly

John

Greetings All

I have a module written in mathematica that works but would prefer to use it as a maple 12 procedure.  I tired the MMA in maple but it doesn't convert programs.  Can someone please help out.

 

 I want to use the Graph theory Draw a graph(networks) with 70 vertex, but the arrow of edges is always near  the beging point of arc, which lead to the arrow can't  be seen clearly, I want to change the sytle of edges by changing the arrow position , but I don't find a correct method.

I submit this question a weeks ago ? But no one answer me?  Is there anyone can help me ?Thank you very much!  

Hi

I'm currently doing some proof of concept implementation of what comes closest to be described as "network flow" problem inside Maple. The current applicability is limited to one source and one sink, flows are not interesting, meaning the edge-costs are all equally set to 1. The chosen vector-based representation for a simple network (adjacency matrix)

 

  S 1 2 E
S 0 1 1 0
1 0 0 0 1
2 0 0 0 1
E 0 0 0 0

is as follows:

MM := [[2], S, [[1, 2], [[], 1], [[], 2]], E]

 

Lets say I have a simple animation such as the code below.

 

restart;
with(plots): 

p := [seq([x, 30*x-x^2], x = 0 .. 30)]: 

An := proc (x)

pointplot(p[round(x)], axes = box, color = red, symbol = solidcircle, symbolsize = 30)

end proc:

animate(An, [x], x = 1 .. nops(p), frames = nops(p), trace = nops(p)) ;

 

 

Now I want a Button (Embedded Component) to start this animation. How can this be done ?

 

I want to be able to assign an external jpg image to a variable in Maple and then assign that varaible to the background command

in animate. In other words I want to display an animation on top of an external jpg image.

 

I know how to view an external image in a maplet

restart; with(ImageTools); A := Read("..........jpg"); View(A)

 

I also know how to preview an external JPG image

plots[display](ImageTools:-Preview(ImageTools:-Read("...........jpg")), axes = none)

 

Download 4171_BioBased.zip
View file details

I've got an XML file from someone, which contains some data from a network. First a list of all the nodes and then a list of all edges.

I would like to read this data in Maple to define a Graph, but I don't know how to do that. Could you please help me?

I added the file as a zip (because XML is not allowed). I hope that that is clear.

Hello

I'd like to perform following operation as gracefully and computationally inexpensive as possible:

b := [[2, 3], 1, 2, 3, 4, 5]
c := b[2 .. nops(b)]
c[b[1, 1]] := c[b[1, 2]]
c := ListTools:-MakeUnique(c)
c[b[1, 1]] := max(c) + 1;

b[1] always contains a list of two consecutive indices which should be combined into one element of the list and having assigned the largest integer in the list. In the about example:

First 2121 2122 2123 2124 2125 2126 2127 Last Page 2123 of 2434