Find V(x- x^2, [-1,2]) and V(cos(4(pie)x),[0,1]).

V(x- x^2, [-1,2])= V(x- x^2, [-1,0])+V(x- x^2, [0,1])+V(x- x^2, [1,2])=


V(x- x^2, [-1,0])=(-1 - (-1)^2) + (0- 0^2)= (-1-1)+0= -2
V(x- x^2, [0,1])= (0- 0^2) + (1 - 1^2) = 0 + 0 = 0
V(x- x^2, [1,2])= (1 - (1^2) + (2- 2^2)= 0+(2-4) = -2

-2+0+-2 = -4

V(cos(4(pie)x),[0,1])= cos(4(pie)0) +cos(4(pie)1)= 1+1=2

Did I find the bounded variations correctly?