MaplePrimes Questions

Search Questions:

Latest Questions Latest Questions Feed

Can the seq here be made into an equivalent for command?



This is code I've converted from Matlab.  Now I'm attempting to convert the seq here into a similar but simple for loop without using seq.  There is a similar code line in Matlab using a for loop but I have no experience with...

I am gettinga string from a textfield

In my program that String represent a set of 8 bits

ie. g(t)= 10101110

But I need to separate them like







where each n is an integer

how do I do it?





August 28 2010 sasomao 602

I guys,

I wrote this little function :


if has(a,x) then 
    if type(a,`*`) then
    else        R:=1; S:=a;
    end if;
R:=a; S:=1;
end if;
return [S,R];
end proc;

could you confirm that it should catch every possible form for a monomial containing or not x?

Hi all

I'm fighting agaist this situation:

ccc:= sin(x);

S:= select(has,ccc,x)


what's that??? why doesn't it aswer 1 or " " istead?

How am I supposed to trust in the remove procedure? What should I do in order to...

within the attached document, is the idea that I would like to develop with the optimization package.

I want to calculate iterates for the Logistic map using the maple's symbolic computation. e.g., 






In order to keep track of the error that builds up in each step.  But the main trouble is that it takes very long time to calculate the same even for 100 iterates. What could be the possible method to make my program efficient ? 

Please do not answer in terms of using high precision technique as I am more interested in doing it symbolically.


Is there a way to solve an equation to show all integer solutions, assuming the problem has finite solutions. Examples would include elliptic curves.

I have the following list, vector or set, I put it in a matrix




Does any body know why the following code

A:=Matrix(3, 3, [[-1/23*(14+21*62^(1/2))^(1/3)-31/29/(14+21*62^(1/2))^(1/3)-13/107,0,0],[0,1/22*(14+21*62^(1/2))^(1/3)+15/29/(14+21*62^(1/2))^(1/3)-13/10-1/2*I*3^(1/2)*(-1/11*(14+21*62^(1/2))^(1/3)+31/29/(14+21*62^(1/2))^(1/3)),0],[0,0,1/22*(14+21*62^(1/2))^(1/3)+15/29/(14+21*62^(1/2))^(1/3)-13/10+1/2*I*3^(1/2)*(-1/11*(14+21*62^(1/2))^(1/3)+31/29/(14+21*62^(1/2))^(1/3))]]) ;



I'm trying to use a simple DLL in maple, which I create based on Maple external linking examples..

int __stdcall mult( int a, int b )
         return a * b;

and I compiled it with Visual Studio 2010 compiler, but when I use it in Maple I recieve the error

"Error, external linking: error loading external library"


Of course the bottleneck is in Maple (may I say as usual, especially when you are trying to innovate).
i) Socket package is not thread safe
ii) Most of the time is spend waiting for Wait(id1, id2) etc

If all the technical Maple stuff was working I could do the below call in around 1 second or less.
Now it takes 7 seconds which is way way to long if you want to download let say 50 symbols...

X := proc(symb)
  uses Sockets;

Hi.  I am supposed to sketch the set of points in the complex plane defined by


where <= is less than or equal to and I is the complex number.

By hand, we simply substitute z=x+I*y into the above inequality, expand and simplify to get


From here onwards, we sketch the straight line and shade the bottom region of the line.

In more challenging cases rather than getting a straight line, one...

r(t):= <t | t^(2) | (t^(2) )/(2) >

simplify(simplify(PrincipalNormal(r(t), t, normalized), symbolic),symbolic)


The three lines above are part of a worksheet that computes unit tangent vector, unit normal vector and components of acceleration for a parametric curve r(t) ,  a standard Calc 3 lesson.

I am...


I have one calculation and the result is "Length of output exceeds limit of 1000000"... What can I do with this error?

Thanks a lot.

Hi, I'm trying to use rsolve to solve the difference equaiton: y(n)-3*y(n-1)-4*y(n-2)=delta(n)+2*delta(n-1)  where deta(n) is the discrete delta function represented by charfcn[0](n).  The answer should be y(n)=(-1/5)*(-1)^n+(6/5)*4^n.  I'm getting the answer in terms of y(0) and y(1) and extra terms.  Can someone point me in the right direction?

Thanks for your help

First 793 794 795 796 797 798 799 Last Page 795 of 1264