Deadstar

192 Reputation

6 Badges

11 years, 33 days

MaplePrimes Activity


These are questions asked by Deadstar

Hey folks I'm doing a series expansion in terms of a small variable called e in my case. In this equation there is also a constant, alpha, that is of the same order as e. What I would like to do is expand this and if I expand it to say, order e, I would like not only e^2 terms to be ignored, but also e*alpha and alpha^2 terms. Is there a way to do this?

Hey folks I have a question regarding how to fill an Array.

 

Lets say I do this...

 

Array(1..10, [seq(i, i=0..9)]);

 

This produces [0 1 2 3 4 5 6 7 8 9] as output which is fine.

 

Now lets say I want a 2x10 array (2 rows, 10 columns), the top row being the digits 0-9 (as above) and the second row being something else (in this case it is counting the number of times each digit appears in Pi)

This happens every single time I try to do this and I need to resolve it once and for all.

 

I have a text file called be which is sitting on my desktop. It consists of two columns of data seperated by whitespace. How do I get maple to read this file? The help pages are of no use since it just tells me to do something like...

 

readdata(be,2): or readdata(be,1):


both of give the same "Error, (in readline) file or directory...

Hey folks I'm trying to solve equations using isolve for which I want conditions on my two variables x and y. I would like them to be both positive and x>y. The problem I'm having with isolve now is that I can't manipulate the output I get. Perhaps there is a way to do this but I can't see how yet. It would produce something like {x = 1, y = 2} for example and I can't extract the numerical values from it (at least using [] operators). I currently don't have access to maple...

Hey folks and (almost) Merry Christmas!

 

How do I check if a number is a permutation of another number (doesn't have to be a cyclic one though)

 

E.g...

 

Let x = 123456789

 

How would I test to see that, for example, 847591236 is a permutation of x without generating every permutation of x?

I feel there should be an obvious command for this but I can't seem to find any...

 

1 2 3 4 5 Page 1 of 5