Let $(\Omega, S)$ be a measurable space. If $f:\Omega \rightarrow \mathbb{R}$ is a strictly positive measurable function and $g:\Omega \rightarrow \mathbb{R}$ is measurable show that $f^g$ is measurable.
I think I should use the theorem on the measurability of the composed function to solve this exercise but I don't realize how.
Hint: consider the function $f:(0,\infty)\times\mathbb R\to\mathbb R$, with $f(x,y)=x^y$.