Respuesta :

Let F be the primitive of f, i.e.

[tex]F'(x) = f[/tex]

Then, we have

[tex]\displaystyle \int_a^b f(x) = F(b)-F(a)[/tex]

So, we have

[tex]\displaystyle \int_0^5(2x-2)\;dx = \left[x^2-2x\right]_0^5 = 25-10=15[/tex]

As for the sine, we can spare the integral: the sine is an odd function, which means that it is symmetrical with respect to the origin. Any odd function integrated over a symmetrical neighborhood of zero (i.e. any interval of the form [-n,n]) returns zero: by symmetry, there is an equal amount of positive and negative area. So, we have

[tex]\displaystyle \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\sin(x)\;dx = 0[/tex]