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

P is the set of integers that are greater than or equal to -3 and less than or equal to 0.

Roster form: P = {-3, -2, -1, 0}

Set-builder notation: P = {x | x ∈ ℤ, -3 ≤ x ≤ 0}

To write the set P in roster form, we list all the elements that satisfy the given conditions:

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

To write the set P in set-builder notation, we use the following format:

P = {x | x is an integer, -3 ≤ x ≤ 0}

In the set-builder notation, "x" represents each element of the set, and the condition "x is an integer, -3 ≤ x ≤ 0" indicates that x must be an integer greater than or equal to -3 and less than or equal to 0.

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

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

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

P = {x | x is an integer, -3 ≤ x ≤ 0}