casperyc

962 Reputation

10 Badges

17 years, 61 days
University of Kent
Dr

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are questions asked by casperyc

Hi,

I remember using 'global' in the procedure as a global parameter,

however, it's not working...

 

Hi,

I got something like:

t:=NULL:

for i to nops(S) do

...

...

temp2:=(temp)^(-1) mod t[i]:

...

...


od:

 

the problem is that since I have assigned t:=NULL

for i=1

there is a problem to run

temp2:=(temp)^(-1) mod t[i]:
 

it becomes

temp2:=(temp)^(-1) mod t[1]:

at that time 't' is actually a number , just a single value, so it cant have subscript.

 

how do I solve that problem?

 

Hi,

I am writing an procedure in which has the following:

print( array(  [['p', 'q' , 'e', 'd'],
          seq([p[k],q[k],e[k],d[k]],k=1..nops(M1) )       ]));

that 'p','q','e' and 'd' all have been used within the procedure.

The "print", in the first line     "['p', 'q' , 'e', 'd']" , I would like them to display as texts, how should do that?

Thanks.

casper

 

Hi,

I can generate 1 random number  by

rand(10^20)():

how can i get, say 6 distinct random numbers in the scacle of 10^20 as well?

Thanks.

casper

Hi,

I would like to work in modula 26 for the whole workshee.

 

What's the command for that?

 

Thanks.

 

Casper

First 21 22 23 24 25 26 27 Last Page 23 of 31