MaplePrimes Questions

I've found a fundamental difference in the use of 

G2:=CopyGraph(G):
and
G2:=G:

where G is a Graph in the GraphTheory package.

 

If I change G2 in the first case, G remains the same.

If I change G2 in the second case, G changes together with G2.

(The same happens when G is an input parameter in a procedure. Normally formal parameters cannot be changed, but if G is a graph there is no error message when changing G). 

What to do, to make maple evaluate the limit

limit(exp(-a*x), x = infinity)

where a>0 as zero? Thank you!

Just wondering if the Mma translator has improved much from M12?  Is it still being improved? 

With a myriad of ways to code something I can see how difficult it could be to try to code from one changing language to another changing language and try to decide which way is best to display.  Be it more efficient and less intuitive (making the smallest possible code is sometimes quite cryptic and difficult to translate), or more intuitive and less efficient. ...

I've used the "unapply" command to calculate the several separarte transformation matrices (working a classical lamination theory problem in mechanics of composite laminates).  I'm now having a problem using these values to perform further calculations.  I've uploaded my file.  Basically, I;ve got to calculate some matrices and use those to calcuate other matrices.  Would anyone mind taking a look at it and letting me know if you have any suggestions...

I have a Matrix 'A' in maple with symbolic entries and I need to use that Matrix in matlab M file. The symbols with in 'A' are already initialized in M file.

How is this possible?

For Matrices 'A' of small dimension, I can use the codegeneration package to convert 'A' to Matlab Matrix and then copy paste.

But for matrices of 1000x1000, lets say, does not seem as a option.

Suppose one had 2 levels of evaluation and you only wanted to go back 1 level to uncover it's original components.  That would be no problem if nothing was cleared, but very unfortunate if it did. 

example,

a:=5*x^2-3*y^3:

b:=3*x^2+10*y^3:

c:=a+b
               

hi

for ex. i put the function X^2+2 on y. y:=x->x^2+2

how can i display what function is behind y later? of course i always could scroll up to the point where i defined it, but is there a shorter way? with variables, you enter them and see their value. it something similar possible with functions?

i now that i can see the function inmy example with y(x), but what if you have a function with 5 more?

 

thanks for help

Hi all,

I have been trying to plot in Maple a Beta Prime Distribution using the Statistics package. I have define it through its density function and its range with the command

U := Distribution(PDF = (proc (x) options operator, arrow; x^(alpha-1)*(1+x)^(-alpha-beta)/Beta(alpha, beta) end proc), Support = 0 .. infinity)

and then assigned it to a random variable Z with the command

Z := RandomVariable(U)

Now I wanted to plot the density...

I came across this post http://www.stiglerdiet.com/2012/02/10/mathematica-a-love-story/

and in the commented section near the end someone mentions this can not be elegantly done in Maple.  I would like to disprove this comment.  He says "There’s NO WAY any numeric language like R or Maple can try to do this."

I don't believe it, and I welcome anyone to disprove his...

 

`if`(p::`+`, nops, 1)(p);

'if'(p::'w', nops,1)(p);

w not exist

 I want to calculate successive roots of the following complex eq.

how can I set interval (?) for fsolve in the following code:

Hello,

I've been trying to force maple to find a solution of this differential equation:

ode := -((D@@2)(y))(r)-2*y(r)/r+y(r) = (2-V(r))*u[0](r)

dsolve(ode, y(r));

gives

y(r) = r exp(-r) _C2 + (exp(r) + 2 exp(-r) Ei(1, -2 r) r) _C1 - 4 

/ / /
|1 | |
exp(-3 r) |- | |
|2 | |
\ \/

/ 2 \ \

Hello. 
I have a workcheet, that is incompleete, when using

  > with(XMLTools);
  > ParseFile("FILE");

i get the wollowing error, but i cant seem to fix it by my selv in an xml editor. 
Here you have the file:

 

9.mw

 

Hope you can help

I'm pretty new to Maple 16.

 

I need to calculate a 6x6 transformation matrix for 8 different angles (8 different plys...classical lamination theory problem in mechanics of composites class), and I don't want to cut and paste the matrix 8 times changing the angle.  I want to put the 8 angles in a column vector (I think that's right...maybe it needs to be an array) and then have the transformation matrix call the angles one at a time to calculate a transformation matrix for each angle ...

Hello,

 

I have two sets of data representing two function that depends on x with a parameter A.

I need to do a fit on both data series at the same time so to fit with the best parameter A.

 

Here is how I do a fit on one function

 

> f(x):=A*cos(x-B)^(2);               
> g(x):=A*(cos(x-C)^(2)+ sin(x-C)^(2))^2; 
> fit1 := Fit(f(x), r, x, parameternames = [A, B, C...
First 1624 1625 1626 1627 1628 1629 1630 Last Page 1626 of 2430