There is a very interesting theorem that says
"Let c be a positive real number. If there exist a function f, continuous on [0, c] and positive on (0, c), such that f and all of its iterated anti-derivatives can be taken to be integer valued at 0 and c, then c is irrational."
If f(x)= sin(x), then all anti-derivatives can be taken (by taking the constant of integration to be 0) as sin(x), -sin(x), cos(x), or -cos(x). The values of those at 0 and [itex]\pi[/itex] are 0, 1, or -1, all integers. Therefore, [itex]\pi[/itex] is irrational.