Vic

50 Reputation

5 Badges

6 years, 102 days

MaplePrimes Activity


These are questions asked by Vic

Hi,

I have this maple program, let's call it 1.mw. I need to import the data produced in 1.mw to another file, 2.mw and use it there, how do I go about this? Also how can I export the result produced in 2.mw to a different file (not necessarily a maple file). I am not sure about the right time to use, but maybe the question is, how do I get data from 1.mw to use in 2.mw, and then produce the result from 2.mw in another file?

 

Thanks,

Vic.

Hello,

I have a number of outputs, and I want to put them into an Array witrhout specifying the index of the array, is there a way I can put all of them at once without putting them one by one? I am currently using Append, is there any other way other than Append?

Hi,

I have this program which when I run gives me five unique matrices as I want it. I however, when I run it again the enries of the matrices changes and I get 5 identical matrices, how can I prevent this from happening?

Vic

Hi,

I have this out put, let me put it simply as a  single variable(call it A) having multiple outputs such that when i print(A) I get         a
                           b
                           c
                           d
How do i put all the values in a single list to get [a,b,c,d]?

This is what I did: aa:=[]: for i in A do aa:=[op(aa),i]:od:
The output is [a]
                    [b]
                    [c]
                    [d]

How do I get [a,b,c,d] without doing a lot of op???

Thanks,
Vic

Hi,

I have this 5 by 2 matrix, and I want to form  lists of lengths 5, whereby the ith entry in my list should be any of the elements from the ith row of the matrix. How do i get all the possible lists? (I am expecting a total of 32lists, each of length 5):

1 2 Page 2 of 2