Consider the mathematical pendulum
$$\dot{\theta}=\omega$$ $$\dot{\omega}=-\frac{g}{L}sin\left(\theta\right)$$
How can one prove that it is impossible that the time period $T$ depends only on the length $L$, and the mass $m$, i.e, that there is no such function as $f(T,L,m)=0$.