Answer:
Because it's used to find definite solutions to More complex quantum mechanical system. Harmonic oscillator helps in determining motion of small mass if strings.
Explanation:
The particle box is very precise when using it to calculate or find definite solutions in complex quantum mechanics in which particles might be trapped in a regions of electric potentials. Since we're dealing with electric potentials here, the harmonic oscillator is needed because it has to do squarely wit potential energy which is given as
V(x) = 0.5kx²
Where k is force constant and x is distance.