Let I = [ a , b ] {\displaystyle {}I=[a,b]} be a compact interval and let f : I → R {\displaystyle {}f\colon I\rightarrow \mathbb {R} } be a Riemann-integrable function. Prove that