y=cos(2(x-30 degree)+1) is a funstion right?is it?

how about 2^x-4?