How large do we have to choose n so that the approximation Tn to Integral 0 -> pi sinx dx is accurate to within 0.0000001 ?

Using Error <= (K (b-a)^3 ) / 12n^2

with K <= f"(x), I come up with

.0000001 <= 0/12n^2

So I guess the max for |-sinx| is 1. Using that, I come up with 5084 for n? Is that right?