Hi community!
I am a Mathematica beginner and want to solve the following problem. I am sure you can help me.
Task description:
There are given functions like
f(x)=cos(x^2),
g(x)=(x^2+1)^(1/2) and
h(x)=3^(2x+1) in an intervall of x ? [0,2]
I should calculate the upper sum

and lower sum.

And print the functions and segments afterwards.
I know how to solve this problem on paper, but i struggle with mathematica commands.
Thank you in advance and BR, Gabriel