Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

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.

 

Operations on matrices that presumably contain information on a physical field such as stress, voltage potential, or temperatures should essentially be the same between tensor vs vector operations is my understanding.  The only difference is conventions in how the expressions are conveyed on paper, ie- indicial vs vector notation?

In one case, I have a sequence that starts at zero and increments by 0.1. I enclose it in square brackets to form a list.  I have another list of function values evaluated at these points.  Then, I have a similar sequence that starts at zero, but increments by 0.05.  Again, I evaluate the same function for a total of 4 lists.  Two inputs, two outputs. 

I create a table from these and want to get the data out at, say, 0.2. 

Hi, all When I read the contents read from a file, I found the order was different from that in file. For example, In file a.txt: a+b+c; d+f+g; b+c+d; d+e+g; m+g+a; a+m+f+1; After reading, I stored them in a list: L := [d+f+g, b+c+d, d+e+g, a+m+f+1, m+g+a, a+b+c]; The order is changed somehow. The procedure I am using here is: HandleGB :=proc(file) local line, T,L,f,cnt; f:=fopen(file,READ); try T:=table(); line:=readline(f); T[cnt]:=parse(line); for cnt do line:=readline(f); if line=0 then break; end if; T[cnt]:=parse(line); end do; finally

How can i delay the evaluation in add. I want add to return

add( i, i=1..10)

                                    1+2+3+4+5+6+7+8+9+10

Now it returns

add(i, i=1..10)

First 1839 1840 1841 1842 1843 1844 1845 Last Page 1841 of 2219