Riemann Sum with Subintervals of Unequal Width At the opening of a chapter on Riemann Sums and definite integrals, my book gives the following example problem:

Consider the region bounded by the graph of $$f(x)=\sqrt{x}$$ and the x-axis for $0≤x≤1$. Evaluate the limit: $$\lim\limits_{n \to ∞} \sum_{i=1}^n f(c_i)\Delta x_i$$ Where $c_i$ is the right endpoint of the partition given by $c_i = i^2/n^2$ and $\Delta x_i$ is the width of the $i$th interval.
  Solution The width of the $i$th subinterval is $$\Delta x_i ={i^2 \over n^2} - {(i - 1)^2 \over n^2}$$

Two questions concerning this: a) Why is $c_i$ defined a $i^2/n^2$ ?b) Why is $\Delta x_i$ defined as ${i\,^2 \over n^2} - {(i - 1)^2 \over n^2}$ ? (For the purposes the question I have not included the rest of the question, nor have I included the associated graph). 
 A: It appears to be that the x-Interval (0,1) has been divided into sub intervals $(c_{i-1},c_i)$ for $i=1,\ldots,n$. 
a) The $c_i$ are defined in such a way as to make $f(c_i)$ easy to evaluate (to $\frac{i}{n}$), probably in order to make the evaluation of the limit $$\lim\limits_{n \to ∞} \sum_{i=1}^n f(c_i)\Delta x_i$$ not so technically demanding.
b) $\Delta x_i$ as defined is the length of the above mentioned interval $(c_{i-1},c_i)$. That makes sense as Rieman Sums of a function are sums of products of interval length ($\Delta x_i$) and a function value from that interval ($f(c_i)$).
Answering questions from OP: 
Please use the below answer from Paramanand Singh if you need to understand what the Rieman Sums are. I assumed above that you basically know them, but are unsure how they apply to this problem. 
The values $\frac{i^2}{n^2}$ are just a convenient way to partition the interval [0,1]. They come from "having solved lots of similar problems and thus having a repertoire of tools for them" on the part of the textbook author. You are, I think, not supposed yet to come up with them yourself, you are just supposed to follow along and solve the problem as stated. Later when learning about integrals you will see why this approach was chosen, what alternatives there were, etc.
The length given for $\Delta x_i$  is just the normal formula for the length of an interval: upper boundary - lower boundary. Since the upper boundary is $c_i=\frac{i^2}{n^2}$ and the lower boundary is $c_{i-1}=\frac{(i-1)^2}{n^2}$ you get the stated formula for $\Delta x_i$
A: It appears that you are not familiar with the definition of a Riemann sum. For clarity I repeat the definition here. Let $f$ be a bounded function on interval $[a, b] $. A set $P$ of the form $$P=\{x_{0},x_{1},x_{2},\ldots,x_{n}\}$$ is said to be a partition of interval $[a, b] $ if $$a=x_{0}<x_{1}<x_{2}<\cdots<x_{n}=b$$ If $P$ is such a partition of $[a, b] $ and $t_{i} $ is any point in the interval $[x_{i-1},x_{i}]$ then the expression $$\sum_{i=1}^{n}f(t_{i})(x_{i}-x_{i-1})$$ is called a Riemann sum for $f$ over partition $P$. The expression $(x_{i} - x_{i-1})$ is also denoted by $\Delta x_{i} $. 
In the current question the interval under consideration is $[0,1]$. The points $t_{i} $ are chosen to match the right end points so that $t_{i} =x_{i} $. Now the question chooses $x_{i} =i^{2}/n^{2}$. This is OK because we require $x_{0}=a=0,x_{n}=b=1$ (both of these are true here) and also that $x_{i-1}<x_{i}$ for $i=1,2,\ldots,n$ (which is also true here). And your question uses the notation $c_{i} $ instead of usual $t_{i} $ ('t' for tags). The choice of points $x_{i} $ given by $x_{i} = i^{2}/n^{2}$ automatically leads to $$\Delta x_{i} =x_{i} - x_{i-1}=\frac{i^{2}}{n^{2}}-\frac{(i-1)^{2}}{n^{2}}$$ and we have $c_{i} =t_{i} =x_{i} =i^{2}/n^{2}$. Choosing such points $c_{i} $ ensures that $f(c_{i}) =i/n$ is without any square roots which helps in evaluating the corresponding Riemann sum. 
