Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Dear All

I am trying to substitute an expression that contains hermitian operators where the ordering is crucial.  I have tried algsubs and simplify-sidderels, but they both do nothing.

I am trying to substitute;

a + b*c*b = R

where all are defined as hermitian operators in the Physics package.

into an expression;

H = - a - b*c*b

but nothing happens...

However, when I substitute a = R - b*c*b, rather than getting H = -R, I get;

H = -R + c*b - b*c*b

This GARCH model in Maple is driving me crazy. I have successfully estimated the two parameters in excel

which was quite straight forward with the help with Hulls book page 380 (please see attached file for data)
 

Download 8342_GARCH Estimation (Hull).zip
View file details

 

I have been trying to calculate the Lyapunov exponent of the Rossler oscillator with an intention of finding it at higher precision. When i calculate the same at 16 digit precision on my 64 bit workstation or on my macbook using maple it takes much time (15 hrs have already been passed) and slows down the system badly. Can somebody plz help me out how to make my code more efficient and it runs in such a way that minimum resources of my computer are exploited.
Ok, so for my Analytical Mechanics class, we have a problem that requires the use of Maple, Mathematica, etc to solve. I was able to get a workable solution, but getting a final answer (for initial groundspeed, as I'll describe in a minute) involved a process of guess and check, manually tweaking variables to find a close approximation. My professor's solution did much the same thing. I don't like guess and check, since I'm sure Maple is capable of doing what I need it to do automatically. So I'd like some suggestions on how to make it work. First, though, The Problem:

Hi there,

I am working through the example in maple help,

trying to save a lib (maple library)

Hi,

I have written several procedures (predefined function).

How do I make them a package?

So I just have to load it with "with(myfunctions):"

then I will be able to use thses functions.

 

I have had a look at
http://www.mapleprimes.com/forum/maplepackagemodule

not so sure if I understand all.

what function should I look it maple help?

 

Thanks in advance.

casper

Hi,

is it enough to check wether two lists are equal using "is(a=b)"?

a:=[1,2,3,1,5];b:=[1,2,3,5,4];c:=[1,2,3,1,5];

is(a=b);
    false

is(a=c);
    true

 

the results seem fine. Do I have to check each element? I just want to be sure of it.

 

Thanks.

 

casper

 

Hello there, I was wondering, is there some way to make the following task any easier? It requires a lot of work to plot this. I want to be able to do it in maple, easily, otherwise there must be other programs where vector plotting is easier? I really want to be able to do this easier. Thanks a lot. You can see the picture uploaded. http://img263.imageshack.us/img263/4193/vectorplot.png Also the necessary text i written below. We have the points A(-3,5), B(-1,8), C(3,6), D(8,-4) Draw vector AB, BC, CD and DA and determinate their coordinates. AB = 2,3 BC = 4,-2 CD = 5,-10

Hi!

I have to use code from older Versions of Maple which is for example of the form (only much longer)

> a := proc()
> local i;
> i := 89;
> i;
> end proc;
> a();

r := abs(z)^(Re(a)) * exp(-Im(a) * argument(z));
w:= r * abs(z)^(Im(a)*I) * (z/abs(z))^Re(a);

I want to see, that z^a = w.

But simplify(w) gives a wrong result, it differs from w:

tstData:= [z=1+3*I, a=-3+I];
z^a; eval(%, tstData):  evalf(%);
'w'; eval(%, tstData): evalf(%);
'simplify(w)'; eval(%, tstData): evalf(%);

tstData:= [z=-2*I, a=+I];
z^a; eval(%, tstData):  evalf(%);
'w'; eval(%, tstData): evalf(%);
'simplify(w)'; eval(%, tstData): evalf(%);

In the last case simplify(w) results in a purely real value,
while w has a nonvanishing imaginary part.

Hi,

I was looking at this page

http://www.maplesoft.com/support/help/Maple/view.aspx?path=ImportMatrix

However, it didnt mention how to save Matrix into Excel or CSV file.

Can Maple do that?

 

Thanks.

Casper

<p>Delete Implement of a Vector</p>
<p>example I have a vector </p>
<p>A:=<1,2,3,4,5>;</p>
<p>How to operate to give a vector have form</p>
<p>A:=<1,2,3,4>; or A:=<1,2,3>;</p>

Good Evening Everybody,

Would anybody show me how to subtract a scalar from each value in a list and output the results as list. Below is the problem am trying to solve, transforming the coordinate of the list to the origin (C.G). My goal is to output w =[ .....] and z = [.....]

 #msub(mi("x"),mi("coord")) := [0., 2., 8., 10., 5., 5., 7.5, 7.5, 2.5, 2.5, 

5.0, 5.0, 0]
#msub(mi("y"),mi("coord")) := [0., 10.0, 10.0, 0., 0., 2.0, 2.0, 3.0, 3.0,

Hi,

I am trying to save batch of data into different of files.

for i to nops(a) do
save a[i], "key_[i].m"
od;

Error, save can only save names

 

i.e. save each element in "a" to the file named "key_i" (key_1,key_2,key_3,ect)

how should I write the code?

Thanks.

casper

Hi,

I remember using 'global' in the procedure as a global parameter,

however, it's not working...

 

First 1911 1912 1913 1914 1915 1916 1917 Last Page 1913 of 2243