
How can this be wrong..I am doing some online course and solving some problems . I am surprised to see this answer . Please guide me in this problem . I simply used liebnitz rule to differentiate under the integral sign.

How can this be wrong..I am doing some online course and solving some problems . I am surprised to see this answer . Please guide me in this problem . I simply used liebnitz rule to differentiate under the integral sign.
The derivative of a function of the form $$F(x) = \int_{a(x)}^{b(x)}f(x,y)dy $$ (where $f$, $a$ and $b$ obey some weak regularity conditions) is given by the Leibniz rule $$F'(x) = b'(x)f(x,b(x))-a'(x)f(x,a(x)) + \int_{a(x)}^{b(x)}\frac{\partial}{\partial x}f(x,y)dy.$$
In your case, $b(x) = x^3$, $a(x)= x^2$ and $f(x,y) = \tan(xy^2)$ so we have $$ F'(x) = 3x^2\tan(x^7) - 2x\tan(x^5) + \int_{x^2}^{x^3}y^2\sec^2(xy^2)dy$$