Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I am trying to replicate the Parrondo paradox which can be found for example here books.google.co.uk/books  and

Why does the binary entropy function have the form   H := -p*log(p)-(1-p)*log(1-p);
Why does not the maximum occur when H=1 and p=0.5 ?

H := -p*log(p)-(1-p)*log(1-p);
plot(H, p = 0 .. 1);

 

> x := [1, 5, 3, 7];
                                  [1, 5, 3, 7]
> y := sort(x);
                                  [1, 3, 5, 7]
 

Hi, I have a set of equations and I want to express them into a list. L:=[]; for i from 1 to 2 do a[i]=b[i]+c[i]; L:=[op(L),'a[i]'=a[i]]; end do the result is: [a[i]=b[1]+c[1],a[i]=b[2]+c[2]]; But what I want is: [a[1]=b[1]+c[1],a[2]=b[2]+c[2]]; Is there any way to implement it? thanks Gepo

I have written a procedure in which I create a matrix and then manipulate (change) the matrix until certain conditions are met (a while loop).  I would like to know when an iteration of my loop does not make any changes to my matrix (but the stopping conditions are not yet met) so that I do not enter into an infinite loop.

I have only found rand() which gives me integer values and I need to generate (a lot of)  random rational numbers.

The boundary (0,2) doesn't really matter but I do need the numbers to at least go up to 2. Else any rational will do.

Thankyou.

Here is what I would like to do:

for i from 1 to m

  A[i] = plot(...)

end do

Now, how do I plot this array A of plots?

Thank you,

ck

Download 16210_stabilityinterfconvet.mws
View file details

 

Hi,

I want to find the limit of the expression (see maple sheet) using l'hopital's rule as sigma approches to zero.

Please help me out.

Thanks

 

Maple produces a very long answer which I can see on the monitor, but on the printer it is truncated.

Is there a way somehow wrapping the too long lines?

Thanks

 

Hello,

How can I know which component is embedded in another one when I calculate PrimeDecomposition.

In this file which is attached I know <y> is embedded in <x,y> but how can I ask this from maple?

Which Maple command can helps me to know one component by PrimeDecomposition is embedded in another one.

File is attached here.

Bye,

Hello

I have a system of polynomial which I like to know its primedecomposition but it can not be done in maple even after one day.
They system is J in attahcned file here .

They system is not that much big why primedecomposition can not be calculated in maple even after one day.

How can I calculate its primedecomposition of this J in Maple in resonable amount of time?
What should I do? I need to know K1.

 

Thanks so much,

I am given parametric equations for space curves but I need to show whether or not they intersect with a list of given surfaces. I'm not too sure how to go about solving this. Any help would be greatly appreciated.

For instance at the moment I need to write a for loop, with an 'if element' (I assume this can be done with maple)

if the elements satisfy it then I want to add the answer into an array X:=[a1,a2,a3.....] without changing or having to rewrite the data already in X.

Is there any way to do this, or would I have to write the array myself and put all of the elements in at one time?

So I'm doing a problem in my physics text and I start by

Loading Units:-Standard

Maple Equation

I am tyring to plot a directional field for a few simple differential equations.  I keep getting an invalid range error for the independent variable.  I am new to Maple and have been using the program for a couple of days.  Can someone help me with this?  I know the answer is probably simple but I can't figure it out.

 

First 1853 1854 1855 1856 1857 1858 1859 Last Page 1855 of 2233