how do i do this?

∫ (x-1)^2 x dx3

are these right?

(1)

π/4

∫ sins x dx

π/2

3

π/4

∫ sins x dx = -cos x

π/2

(-cos 3π/4) - (-cosπ/2) = 0.71

(2)

2

∫ (2+x) dx

0

2

∫ (2+x) dx =2x+ (1/2)x^2

0

(2(2)+(1/2)(2)^2) - ( 2(0) + (1/2)(0)^2)

=6

are these right?