(1251) Winger function of a particle in a box

Find the Wigner fuction \( \rho_W(X,P) \) for a particle in the \( n\text{-th} \) level of a 1D box of width \( L \).

Based on Lecture notes [52.6]