Mark M. answered 03/04/24
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
If c is a constant and if f(x) = ∫(c to g(x)) h(t)dt, then by the Fundamental Theorem of Calculus,
f'(x) = h(g(x))g'(x)
So, for f(x) = ∫(3 to x^7+8x^4+6) cos t dt = cos(x7+8x4+6)(7x6+32x3)