$$f(x) = x^{4} - 5x^{2} + 4$$
What is the maximum value of the function on the interval $\left[\frac{-1}{2}, \frac{1}{2}\right]$?
A) 8
B) 6
C) 4
D) 2
E) 0
$$f(x) = x^{4} - 5x^{2} + 4$$

What is the maximum value of the function on the interval $\left[\frac{-1}{2}, \frac{1}{2}\right]$?

A) 8\\
B) 6\\
C) 4\\
D) 2\\
E) 0