Big Thanks to Dominique Bauer and his team for creating and supporting Formulas quiz type. I'm gradually trying it for more complex questions relating to vectors and matrices. In particular, is there a way to define an array of randomly generated numbers at once, not individually, and then display it as an array?
For example, currently I define random variables:
x0={-100:100:.1};
x1={-100:100:.1};
x2={-100:100:.1};
Then I define a global variable x=[x0, x1, x2]; This allows me to operate on array at once. I also display these values as [{x0}; {x1}; {x2}] in the question text. I tried displaying {x}, but the value "{x}" was printed. I also could not find a way to create x in one line with a single definition.
FYI: this example and this post were helpful in making progress.
A somewhat related question. How is localization of number formatting handled in Formulas? As an example, last year I had a Canvas question displaying [x1, x2] with variables x1, x2, but because some localities flip "," instead of ".", the comma between the numbers raised plentiful confusion (and I replaced it with ";"). Is there a way to ensure that all numeric variables use the identical localization in Formulas questions?