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}

Set-builder notation: M = {x | x is an integer, -1 < x ≤ 3}

In roster form, the set M can be written as:

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

In set-builder notation, the set M can be written as:

M = {x | x is an integer, -1 < x ≤ 3}

To write the set M in roster form, we need to list all the integers that meet the given condition, which is being greater than -1 and less than or equal to 3.

The integers that meet this condition are -1, 0, 1, 2, and 3.

So, we can write the set M in roster form as:
M = {-1, 0, 1, 2, 3}

In set-builder notation, we express the set M as:
M = {x | -1 < x ≤ 3}