the function f(x)=2x^2 -6x+5 for 0 less than or equal to x and 4 greater than or equal to x ,find the range of g

or, more conventionally,

f(x)=2x^2 -6x+5 for 0 ≤ x ≤ 4
since the vertex is at (3/2, 1/2)
and
f(0) = 5
f(4) = 13
the range is [1/2 , 13]