Answer
$$
f(x)=\sqrt {\sin x} \quad 0 \leq x \leq \pi
$$
According to Definition 2, an expression for the area under the graph of $f$ as a limit is:
$$
\begin{aligned}
A &=\lim _{n \rightarrow \infty} R_{n} \\
&=\lim _{n \rightarrow \infty} \sum_{i=1}^{n} f\left(x_{i}\right) \Delta x \\
&=\lim _{n \rightarrow \infty} \sum_{i=1}^{n} \sqrt {\sin (\pi i / n)} \cdot \frac{\pi}{n}
\end{aligned}
$$
Work Step by Step
$$
f(x)=\sqrt {\sin x} \quad 0 \leq x \leq \pi
$$
the width of a sub-interval is
$$
\Delta x=(\pi-0) / n=\pi/ n
$$
and
$$
x_{i}=0+i \Delta x=\pi i / n
$$
The sum of the areas of the approximating rectangles is
$$
R_{n}=f\left(x_{1}\right) \Delta x+f\left(x_{2}\right) \Delta x+\cdots+f\left(x_{n}\right) \Delta x
$$
According to Definition 2, the area is
$$
\begin{aligned}
A &=\lim _{n \rightarrow \infty} R_{n} \\
&=\lim _{n \rightarrow \infty} \sum_{i=1}^{n} f\left(x_{i}\right) \Delta x \\
&=\lim _{n \rightarrow \infty} \sum_{i=1}^{n} \sqrt {\sin (\pi i / n)} \cdot \frac{\pi}{n}
\end{aligned}
$$