2.4. Find all values of $a$ for which the quadratic function $f(x)=a x^{2}+4 a x-1$ takes values, the modulus of which does not exceed 4, at all points of the interval $[-4 ; 0]$. In your answer, specify the total length of the intervals to which the found values of $a$ belong.
Answer. 2 (the set of desired values of $a: \left[-\frac{5}{4} ; 0\right) \cup\left(0 ; \frac{3}{4}\right]$).