Answer
Over the specified interval, the function has an absolute maximum equal to $1$ and an absolute minimum equal to $0.$
Work Step by Step
$y'=\frac{\pi}{8}\sec^2{\frac{\pi x}{8}}.$
$y'$ is not equal to $0$ or undefined over the specified interval$\to$ The function attains absolute extrema at the interval's boundaries.
$y(0)=0.$
$y(2)=1.$
Over the specified interval, the function has an absolute maximum equal to $1$ and an absolute minimum equal to $0.$