Hi everyone, I had a proof up earlier for the expectation of a Continuous Uniform Distribution that people helped me with. I was wondering if anybody could work me through this one as well?

If X ~ U(a,b), then:

Var(X) = .

Now is given by:

or

Subtracting yields

Any help would be very much appreciated