Given the limit represents the area under the function f on the interval [0, a], assuming equal-width rectangles with right endpoints as sample points, find a function f.
a) f(x) = x²
b) f(x) = sin(x)
c) f(x) = eˣ
d) f(x) = ln(x)