You can also use 'Mathematical Formula'  'unordered list of formulas' instead of the Maplegraded response area to accept a list of unordered numbers separated by semicolons.
elichad
Banned
Posts made by elichad

RE: Grading a list of numbers

Generating unimodular matrices (determinant = 1 or 1)
Maple has a deprecated function linalg[randmatrix] which has an option to make the matrix unimodular. The function generates an upper triangular matrix with all the diagonal elements equal to 1 (so the determinant is always equal to 1), and other nonzero elements randomized.
To create an equivalent matrix without using the deprecated function, you can generate a random upper triangular matrix using LinearAlgebra[RandomMatrix] and then manually set all diagonal elements to 1. Below is an example of a function that produces a 3x3 unimodular matrix.
$RandomUnimod3=maple(" proc() U:=LinearAlgebra[RandomMatrix](3,3,generator=rand(4..4),shape=triangular[upper]): for i from 1 to 3 do U[i,i]:=1: end do: U end proc: ");