2. The complex number $z=\frac{(2+\mathrm{i})^{2}}{1-\mathrm{i}}$ ( $\mathrm{i}$ is the imaginary unit $)$ corresponds to a point in the complex plane located in
A. the first quadrant
B. the second quadrant
C. the third quadrant
D. the fourth quadrant
Solve:
$z=\frac{(2+\mathrm{i})^{2}(1+\mathrm{i})}{2}=\frac{-1+7 \mathrm{i}}{2}$, so the answer is $B$.