Code:

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
double k,A,B,W,NumberOfSlices,Width,y,Area,Sum;
NumberOfSlices = 11.0;
Area = 0.0;
A = 10.0;
B = 6.0;
Width = A / NumberOfSlices;
k = 0.0;
Sum = 0.0;
while ( k < NumberOfSlices )
{
W = ( Width * ( k + 1 ));
y = (B/A)*sqrt(A*A-W*W);
Area = y * Width + Area;
Sum = Sum + Area;
k = k + 1;
}
printf("\n\t the area of the ellipse is %10.3f",Sum );
printf("\n\n\n");
}

thats the new one, but the numbers increase as # of slices increases, though it should be becoming smaller. the first with 10 slices was 285, the next, with 12 slices, was 312. and it just continues to rise. i need it to get closer and closer to 188.4955...