math618

41 Reputation

5 Badges

19 years, 240 days

MaplePrimes Activity


These are questions asked by math618

for example,if we have a table T=table([aa=2, bb=3 cc=4, dd=5]),how can we get another table(2=aa,3=bb,4=cc,5=dd) ?

another question:
if we have table([aa=3,bb=5,cc=1,dd=3]),how can we output indices according to entries' ascending order?

thank you

Hi,the following is my confused problem

the effective statements 
   restart;
   with(group):with(StringTools):with(Maplets[Examples]):
   a:=GetInput("Input the moves.");#input: IMIM10IM2IM9IM7IM8IM10
   i:=0:b:=Explode(a):
   M10:=[[2, 12, 7, 4, 11, 6, 10, 8, 9, 5, 3]]:
   M2:=[[2, 5, 8, 6, 4, 12, 3, 9, 10, 11, 7]]:
   M8:=[[2, 4, 10, 5, 12, 11, 8, 3, 7, 6, 9]]:

Page 1 of 1