# If $g(f(x))=|sinx|$ and $f(g(x))=(sin\sqrt x)^2$ then find $f(x)\:\: and\:\: g(x)$

(A) $f(x)=sin^2x$ and $g(x)=\sqrt x$

(B) cannot be determined.

(C) $f(x)=sinx$ and $g(x)=| x |$

(D) $f(x)=x^2$ and $g(x)=sin\sqrt x$

if $f(x)=sin^2x$ and $g(x)=\sqrt x$ then
$f(g(x))=sin^2(\sqrt x)=(sin\sqrt x)^2$