### Instruction: Convert the point $(\rho,\theta,\phi) = \left( 2, \pi, \frac{\pi}{4} \right)$ in spherical coordinates to rectangular coordinates.### Response: I recall that the formulas for converting spherical coordinates to rectangular coordinates are

\[x = \rho \sin \phi \cos \theta\]
\[y = \rho \sin \phi \sin \theta\]
\[z = \rho \cos \phi\]