MaplePrimes Questions

Hi

 

I want to make an overloaded function with two possible behaviours.

If the function is called with a list as parameter it shoud make something; if it's called with TWO lists as parameters, it shoud make another thing.

I tried first something like:

 

 

Hi all,

I was just wondering about a smart way to diff a vectorfunction.  Lets say i want to diff this vector:

v:=<5*t+1, (1/2*(-10))*t^2+50>

When i try to diff v it says:

"Error, non-algebraic expressions cannot be differentiated"

I know it's possible do do by:

<diff(v[1],t),diff(v[2],t)>

But is there a better way?

/Simon Johansen
 

Dear all,

my Maple sheet is structured in sections. So far, I could not find (Maple Help, Google, Mapleprimes) an easy way of commenting out (i. e. disabling or deacitvating) a section or subsection. Any hints how to do that? (Similar to C++ with its /* ... */ or many (LaTeX) editors with the "Insert comment" function.) Writing a # manually in front of each command is not regarded as "easy".

Cheers,

Ben

1:  6n + 5

2:  150 n^2 + 200 n + 55

3:  420 n^33 + 770 n^2 + 410 n + 57

4:  630 n^4+1470 n^3+1155 n^2+343 n+29

5: 13860 n^5 + 39270 n^4 + 40740 n^3 + 18711 n^2 + 3591 n+205

int(exp(1/((x-a)*(x-b))), x = a .. b)

complexplot examples in the help is limited.

this is a example

abs(z-a)-abs(z+a)=2c

c is a fixed,

a is a real number

a is a complex number

plot the locus.

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

 

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();

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

First 2087 2088 2089 2090 2091 2092 2093 Last Page 2089 of 2434