Execute[Sequence[....]]

marcomanetta shared this question 1 year ago
Answered

I want to create a sequence of values of the type nx_y = value, with x ranging from 1 to 5 and y ranging from 1 to 4. I think I should use the Execute [Sequence [......]] command but I don't know how to do it . Can someone help me? Thank you very much!

Comments (3)

photo
1

What's the formula for "value"?

photo
2

Hi,

try :

Execute[Flatten[Sequence(Sequence("n"+i+"_"+j+"="+ (i j) +"", i, 1, 5), j, 1, 4)]]

with "value" = x y

...

photo
1

Thanks a lot!

It works!!

photo
© 2022 International GeoGebra Institute