Find the area of the square, which has a side length of 2.
Area of square = 2 x 2 = 4
Now multiply the area by the length b
Volume = 4 x 5 = 20 square units total.
R example: 6 1/2 = 13/2 = 6.5
For the first example, six and a half is equal to thirteen halves, which
is then equal to six point five. To do this, the rule to turn a mix
number into a fraction is by multiplying the 2 with the 6 and then add
the answer to 1, which gives 13/2 (Remember to always give the same
denominator). Finally, thirteenth halves is equal to six point five
(because when you divide 13 by 2, you get 6 and one left over. To
continue dividing, add a 0 , and so 10 goes into 2 is five. so the
decimal is 6.5
Split up the interval [0, 2] into <em>n</em> equally spaced subintervals:
![\left[0,\dfrac2n\right],\left[\dfrac2n,\dfrac4n\right],\left[\dfrac4n,\dfrac6n\right],\ldots,\left[\dfrac{2(n-1)}n,2\right]](https://tex.z-dn.net/?f=%5Cleft%5B0%2C%5Cdfrac2n%5Cright%5D%2C%5Cleft%5B%5Cdfrac2n%2C%5Cdfrac4n%5Cright%5D%2C%5Cleft%5B%5Cdfrac4n%2C%5Cdfrac6n%5Cright%5D%2C%5Cldots%2C%5Cleft%5B%5Cdfrac%7B2%28n-1%29%7Dn%2C2%5Cright%5D)
Let's use the right endpoints as our sampling points; they are given by the arithmetic sequence,

where
. Each interval has length
.
At these sampling points, the function takes on values of

We approximate the integral with the Riemann sum:

Recall that

so that the sum reduces to

Take the limit as <em>n</em> approaches infinity, and the Riemann sum converges to the value of the integral:

Just to check:

In this problem, we need to plug in the given x values for

and find a and b.
When we plug in 1, we get:

Simplify:



We got our first statement about the values of the variables. If we find one more we can find those 2 variables.
We have another given root: 4.
Plug it in:




Now we have our second one. We can combine them:

I use elimination method which is easier here.
Multiply the top equation by -1:

Add them up:

Simplify:

Now we have a, we can plug in one of those equations to find b:



So, the answers are

and

.