somerandomstudent

12 Reputation

2 Badges

16 years, 348 days

MaplePrimes Activity


These are questions asked by somerandomstudent

First off I want to say thanks for answering my previous question. I'm having trouble getting maple to define an array of equal size to a given value, x, and then populate it with the numbers 0 to x. Say x was five, I would need Maple to generate [0,1,2,3,4,5]. Lastly, I need to be able to use each member of the final element individually, so I'm not even sure if I'm having Maple do this in the right manner. So far I've tried: m := proc (n) options operator, arrow; array(1 .. n) end proc; for i to n do m[i] := i end do and all I get is: Error, final value in for loop must be numeric or character.
Hi, this is my first time posting, so I'm not even sure if this is the right place to ask this. But, I'm having trouble defining a function. I'm using the document view and trying to establish Q(variables)= some function and it returns "Error, invalid parameters for inline function." More specifically:
Page 1 of 1