conglomerate

20 Reputation

One Badge

16 years, 157 days

MaplePrimes Activity


These are questions asked by conglomerate

hey

let me put it simple: in maple if I do

However,

if i do l := list(30); l[1] := 2; l[2] := 2; l[3] := 3; l[4] := 3; l[5] := 5; l[6] := 7

I have my maple code as follows. I don't see why I got "Error, invalid subscript selector"? can anybody help me? Thanks in advance!!

>a := [2, 2, 3, 3, 3, 5];

b := [2, 2, 2, 3, 7];

for k to 10 do

  for j to 10 do

       c := b[k]; d := a[j];

if c = d then a := subsop(j = NULL, a);

    print(a);

     print(k);

    print(j);

     break

else print(k);

Page 1 of 1