Math Help - Continuity problem help..

1. Continuity problem help..

f(x)= [sin(pi.cos^2x)]/x^2 when x not equal to 0 & f(x)= pi when x=0. If f(x) is continuous, find value of pi.
How to do this sum??

2. Assuming pi is a variable, not the well-known $\pi$:

Since f is a continuous function, then it is continuous at x=0 ..

f is continuous at x=0 $\implies \lim_{x\to 0} f(x)=f(0)$ ..

And the last formula will find your pi ..