Expected value of a uniform continuous variable on [a, b]?

Expected value of a uniform continuous variable on [a, b]?

Approach: (a + b) / 2.

(a + b) / 2.

Follow-up: What is the variance?

Key concepts: mean.