Write the following set in roster form and in set-builder notation.

M is the set of integers that are greater than -1 and less than or equal to 3. Write the set in roster form. M =\ _\
(Use a comma to separate answers as needed.)

M = {-1, 0, 1, 2, 3}

In set-builder notation: M = {x | -1 < x ≤ 3}

In roster form, the set M can be written as {0, 1, 2, 3}.

In set-builder notation, the set M can be written as M = {x | -1 < x ≤ 3}.

To write the set M in roster form, we need to list all the integers that are greater than -1 and less than or equal to 3.

M = {-1, 0, 1, 2, 3}

In set-builder notation, we can write M as:
M = {x | x is an integer, -1 < x ≤ 3}