MaplePrimes Questions

Hi everybody,

I have just started to learn using maple and now I have a trouble.

I thought programming was similar to C language, and I tried to write this simple code:

> restart:
> a := 2;
   b := 5;
>
> for i from 1 by 1 to 4 do
   if a = b then 
        print('before'); 
        plot(x^2, x = -2 .. 2); 
        print('later')
   end if; 

Greetings All

I have several equations and each have their own individual frequencies and amplitudes. I would like to sum the equations together and adjust ONLY the individual phases, phase1,phase2, and phase3 to keep the total amplitude value of eq_total under a specific value like 0.8. I know I can normalize the signal or change the vertical offset, but for my purposes I need to have the amplitude controlled by changing/finding the values for just...

Hi everybody, I have a rather large code in Maple for my research which needs fast eigensolving for large sparse matrices, thus, I am using the Matlab link to parse my matrices and get them eigensolved in Matlab. The problem is that, I am unable to directly parse a Maple sparse matrix to a Matlab sparse matrix which substantially slows down the calculation.

This is the best I can do so far:

 

> H:=Matrix(5000,5000,shape=symmetric,storage=sparse,datatype=float[8]):
i want to use the new point's (c) coordinates but how can i correct this? thank you for helps.
a:=point([1,0,0],color=red,thickness=6):
c:=animate([rotate[a,alpha,[[0,0,0],[px,py,pz]]]],g2=0..2*Pi):
cx,cy,cz:=animate([op[c][]],g2=0..2*Pi):                                                                                                                                        
Error, cannot split rhs for multiple assignment

Hi there,
my problem is the following: I have a polynomial p(alpha,beta,lambda_1,lambda_2,w). What I want to do is express it as p1(alpha,beta,lambda_1,lambda_2,w)+(alpha-beta)*p2(alpha,beta,lambda_1,lambda_2,w). I have done it manually and I have succeeded, but since I need to do the same for larger polynomials, I was wondering if you knew any way of doing this with Maple.

Thank you very much

I have written lists of parameter values and functional forms which I read at the top of the worksheet and use subsequently when I need numerical output.

For instance,

Parameters1 := [ s = 2 ];
Functions1 := [ U = 'proc(c) (c^(1-s)-1)/(1-s); end proc' ];
eval(eval(U(c), Functions1), Parameters1);
                             ...

Download dgil.mw

Hello,

I'm trying to solve a derivation of a function, that consists of parameters and varaibles (i want to find the value of x that setup the derivation to zero).

The solve function give me starnge results..

Follow up the file.

Can someone suggest me another solution to the problem?

Thanks 

 

Gil

Hello!

Could you pleasу tell me, is it possible to make MapleSim not to simplify equation set of my model and solve equations without simplification? I want to do this because simplification process (reduction of equations number) takes too much time in comparison with integration process.

Thank you!

Hi all,

I have a set of two coupled PDEs and Maple keeps giving me invalid initial/boundary conditions. I really don't know how to fix it. Attached is my worksheet. Please help me out.

Thank you

2dcase.mw

I'm very new to this... I need to find the total derivative of y=(a-3)/(b+3) given that a=r*t and b=s*t

This is in a similar vein to the Diet problem (integer programming), but harder.

http://en.wikipedia.org/wiki/Cutting_stock_problem

This guy has solved this problem using 3 programs, Maxima and LPsolveIDE and Excel:

https://docs.google.com/View?docid=dfkkh8qj_64rrpz86db

A text file generated by maxima is fed into LPSolveIDE ...

Can someone please tell me where I can find information on "Test Relation" that pops up when I right click one of my equations?  Type ?test relation or into Help and nothing comes up.

Thanks!

Download Test_Relation.mw

How do I edit a large proc to replace a couple of lines or add a few more if I don't save it and the screen was cleared?  Am I out of luck and have to retype it all back in?

And how do I substitute in a proc n_pts<5 to n_pts<5  or say substitute i=50 to i=30 .  I'm stuck with the operators.  I thought using delayed evaluation would work.  ie/  newproc:=subs( 'i=5' = 'i=30' , eval(newproc))

How can I encode to mp3?  Maple's AudioTools package only includes WAV file formats.  I would think by now Maple 15 would have included the mp3 format seeing that it is so standard. 

None-the-less, I feebly started to embark on what I thought would be a quick two step process - 1 - find the mathematics involved and 2 - code in Maple.  My searches brought me to some good information at www.mp3-tech.org ...

int(cos(a*z)/(z^2-4*z+8), z, method=contour)

why run in maple 15, unknown options method = contour

is it default to use contour?

but the result is the same as done by hand, i mean the answer from the book,

int(cos(a*z)/(z^2-4*z+8), z) return contain some Si  and Ci

First 1809 1810 1811 1812 1813 1814 1815 Last Page 1811 of 2430