Generate four sinusoids with frequencies, $400 \mathrm{~Hz}, 1000 \mathrm{~Hz}, 2500 \mathrm{~Hz}$, and $6000 \mathrm{~Hz} ; f_s=44.1 \mathrm{kHz}$. Obtain $s(n)$ by adding these individual sinusoids as follows,
$$
s(n)=\sum_{i=1}^4 \sin \left(\frac{2 \pi f_i n}{f_s}\right), n=1,2, \ldots, 1024 .
$$
FIGURE CANT COPY
Figure 5.14. Perceptual bit-allocation, Problem 5.4.
Give power spectrum plots of $s(n)$ (in $\mathrm{dB}$ ) in terms of a Bark scale and in terms of a linear Hz scale. List the Bark-band numbers where the four peaks are located. (Hint: see Table 5.1 for the bark band numbers.)