anyone know the correct way to do this.........

g(x) = "4+x^2" -x/2 ?

(the part in inverted commas is meant to be square root of, sorry no idea how to bring up the right sign)

also not sure how to find the maximum value of g(x) on the interval 0<=x<=10