Approximating the Area Under a Curve using LRAM and RRAM

For a function f(x), the area between the function and x-axis can be approximated by using Riemann sums.
A function is given in the interval from [0,2]. Experiment with the Riemann Sums using LRAM and RRAM and the number of rectangles. Make a guess as to the area under the curve. Check your answer by finding the Exact area. Summarize your findings. In the input bar, change the function using f(x)= and experiment some more.