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

P is the set of integers that are greater than -2 and less than 3.

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

Set-builder notation: P = {x | -2 < x < 3, x ∈ Z}

To represent the set P in roster form, we list all the integers that are greater than -2 and less than 3. In this case, the integers in set P are -1, 0, and 1. Therefore, the roster form of set P is:

P = {-1, 0, 1}

In set-builder notation, we describe the set P using a rule or condition. In this case, we can express the set P as the set of integers x that satisfy the inequality -2 < x < 3. Using set-builder notation, we can represent the set P as:

P = {x | -2 < x < 3}

Roster Form: P={-1, 0, 1, 2}

Set-builder Notation: P={x | -2 < x < 3, x ∈ Z}