Find a function $g(x)$ satisfying the above conditions:-
a)domain is $(-∞,∞)$.
b)range is $[-2,8]$.
c)$g(x)$ has a period $π$.
d)$g(2)$=3.
ATTEMPT:
Since the function is periodic with period $π$ it must be a trigonometric function, and since range is $[-2,8]$, it can be of the form $ a + \sin(2x)$.
Hint: It should be of the form $a+b\sin(2x)$. How would you figure out the value of $a$ and $b$? Consider the range of $\sin(x)$.
More Hint: The range of $\sin(x)$ is symmetric. It looks like $[-y,y]$. Yet the range you want is not symmetric. How should we fix this?