Prove that 20f(x)dx=1 where f(x)={1,if 0x<12,if 1x2 using Riemann sums.

Problem: 

Prove that 20f(x)dx=1 where
f(x)={1,if 0x<12,if 1x2
using Riemann sums.

Answer: 

It is true that 20f(x)dx=1.