Given
,g(x) = sin x
Now we have to calculate fog,
Clearly, the range of g is a subset of the domain of f.
⇒ fog: R→R
(fog) (x) = f (g (x))
= f (sin x)
=
Now we have to calculate gof,
Clearly, the range of f is a subset of the domain of g.
⇒ fog : R→ R
(gof) (x) = g (f (x))
=
=