Consider the function f(x)=-((x^2)/2)-9.
In this problem you will calculate integrate from 0 to 3 of ((-x^2)/2)-9)dx by using the definition
integrate from a to b of (f(x))dx= lim as n approaches infinity of sum_(i=1)^n of (f(x_i))(delta x)
The summation inside the brackets is R_n which is the Riemann sum where the sample points are chosen to be the right-hand endpoints of each sub-interval.
Calculate R_n for f(x)=((x^2)/2)-9 on the interval [0,3] and write your answer as a function of n without any summation signs.