Given that,
f'''(t) = t — 5cos(t)
We want to find f(t) so we need to integrate this function three times to get f(t)
First anti derivative
∫ f'''(t) dt = ∫ (t —5cos(t)) dt
Note, the integral of cos(t) is sin(t), and the integral of sin(t) is —Cos(t)
Integrating third derivatives decreases it to second derivatives i.e. f'''(t) to f''(t)
f''(t) = t²/2 — 5sin(t) + C
Where C is the first anti derivative constant
Second anti derivative
f''(t) = t²/2 — 5sin(t) + C
∫ f''(t) = ∫ (t²/2 — 5sin(t) + C) dt
f'(t) = t³/6 + 5Cos(t) + Ct + D
Where D is the second anti derivative constant
Third anti derivative
f'(t) = t³/6 + 5Cos(t) + Ct + D
∫ f'(t) = ∫ t³/6 + 5Cos(t) + Ct + D) dt
f(t) = t⁴/24 + 5Sin(t) + Ct²/2 + Dt + E
Where E is the third anti derivative constant.
So the required f(t) function is
f(t) = t⁴/24 + 5Sin(t) + ½Ct² + Dt + E