Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Interesting behavior!!

> restart
> N := 150; L := LinearAlgebra[RandomVector](N);

                              150

> st := time(); for j to 10^4 do ArrayTools[SearchArray](`~`[`=`](L, max(L))) end do; time()-st;

             ...

Hello!

I have a strange issue:   I have a procedure with signum, square roots, I and float numbers. First I optimize it and then compile.  (or just run compile with option optimize=true).  As a result I get a error:

Error, (in TargetLanguageTools:-GetExprType) Analysis is not a command in the _EnvCGEngine package

Trying to understand, what is happening, I manually copy-paste the optimised procedure to the argument of compile. Then it works!!!

Hi,

 

Is there a way to generate Java or C code to implement a general nth order linear ordinary differential equation?

I am looking to be able to send the coefficients and have it compute the time waveform given initial conditions.

 

Regards.

I wish to use the 'Numeric Formatting' feature on some results in Maple, to show the correct significant figures in the results. But when I apply Numeric Formatting to any result, the decimal seperator changes from the usual dot (.) to a comma (,). How can I keep the dot as decimal seperator while applying the correct significant figures?

 

Thanks. 


 


 

restart

Hi, I would like to label curves on a plot but using horizontal text looks really bad.  I would like to use verical text labels or even text labels that follow the curves.  It this possible in Maple?  I have tried rotate with textplot but that only rotates the point and not the text.  Any ideas would be great! Thanks.

With the command, subpicture,I take the portion of it that interests me.
How I manage to include this sub-image in another image (img)?

Preview(correctedT)

imgs := GetSubImage(correctedT, 100, 125, 20, 120)
Preview(imgs)

I’ve created a basic model of a two-lane road.

i am looking for a command adjoint a ODE, to check whether my understanding of adjoint correct or not, when i find one example different from my understanding as follows

u*diff(Y,t) - diff(U,t) + diff(y,t)*U = 0 where uppercase and lowercase are different

why after adjoint is

Y -> -u*diff(lambda,t) - diff(u,t)*lambda = miu1
U -> diff(lambda,t) + diff(y,t)*lambda = miu2

why not

Y -> u*diff(lambda,t) = miu1
U -> -diff(lambda,t) + diff(y,t)*lambda = miu2

I installed Maple 15 for windows 64 bit on my pc but I have a problem with worksheet in its.

Worksheet isnt on my software.

 

 

u''-w^2+Eu^2=0,           u(0)=A,  u'(0)=0

How can I solve this question the variational iteration method with maple.please help me!

hi 

if I have two partition Pi and Pi 'I want to know the decomposition of Pi' 

Attached are results I obtained in MAPLE 12.  Can anyone explain the contradiction?

In short, if I sum from n = 0 to some integer I get a FALSE when testing the equality, which is what I would EXPECT.  However, if I change the integer to a variable to represent that integer such as m--> the result is TRUE?

Note the change in the variable of beta to alpha inside the series expression within the parentheses.

regards

Write a procedure that determines the solutions of a quadratic equation from inputs a, b and c by using the discriminant and the quadratic formula. The quadratic equation procedure should be able to solve all cases: invalid input, linear case, real and complex roots. The procedure should also plot the given equation.

Hi,

I want to compute a system of linear equations when they are provided through a matrix product, and the solutions should be some numbers (rational) between 0 and 1, and one of them could be any rational number. Also, I obtain the matrix of coefficients by recursion; I mean, I have a ''for loop" in which I find recursively the matrix of coefficients, and then in each step of loop I solve the system of equations with this coefficients.

I use Maple 13. The...

First 225 226 227 228 229 230 231 Last Page 227 of 2097