The GATE Grind

GATE 2018 CS – Question 26

Engineering Mathematics · Calculus · 1 mark · Numerical answer

The value of $\displaystyle\int_0^{\pi/4}x\cos(x^2)\,dx$ correct to three decimal places (assuming that $\pi=3.14$) is ________.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 0.28 to 0.30

Explanation

Substitute $u=x^2$, $du=2x\,dx$, so $x\,dx=\tfrac12du$. When $x=0$, $u=0$; when $x=\pi/4$, $u=\pi^2/16$.

$$\int_0^{\pi/4}x\cos(x^2)\,dx=\frac12\int_0^{\pi^2/16}\cos u\,du=\frac12\sin\!\Big(\frac{\pi^2}{16}\Big).$$
With $\pi=3.14$: $\pi^2/16=9.8596/16=0.6162$, $\sin(0.6162)=0.5778$. So the integral is $\tfrac12(0.5778)=\mathbf{0.289}$.

More Calculus questions

All Calculus questions →