
Solution:
Given that,

We have to find whether the above function is odd or even
If a function is: y = f(x)
If f(-x) = f(x), the function is even
If f(-x) = - f(x), the function is odd
Which is,

From given,

Replace x with -x

Therefore,

Thus the function g(x) is even