# Is it possible to predict $x^2$, $\log(x)$, or variable function of $x$ using RNN?

There were some posts that using RNN can predict the next point of the sine wave function with data history.

However, I wondered if it also works on all the functions of $$x$$, such as $$x^2$$, $$x^3$$, $$\log(x)$$, $$\frac{1}{(x+1)}$$ functions.