Error of approximations

How large does n have to be to guarantee that the integral approximation of 02x5dx\displaystyle \int_0^2x^5dx
using the Midpoint rule is accurate to within 0.0001?