I'm confused about the last part. Using the definition of an integral, I know that $\Delta$x=$\frac{3}{2n}$ but what will $a$ be here?. $\frac 1 2$ or $\frac {-3} {2} $?
I was thinking I could manipulate the expression so that I have the same expression in both the brackets, of the form $a$ + $\Delta$ x $i$ and then compare that with the definition for find a, b and f(x). The problem seems to be that the resultant a, b and f(x) will depend entirely on how I manipulate the expression, which is arbitrary. So how do I go about this?

hint for d)
The sum can be written as $$\sum_{i=1}^nf (x_i)(x_{i+1}-x_i) $$ $$=\sum_{i=1}^n f (\frac {i}{n})(\frac {i+1}{n}-\frac {i}{n})$$
with $$f (x)=\frac {3}{2}(\frac {3}{2}x+\frac {1}{2})\tan \Bigl(\frac {3}{2}(x-1)\Bigr) $$
The limit is $$\int_0^1 f (x)dx $$