# Simpson's Rule Problem

1. Feb 16, 2009

### bns1201

1. The problem statement, all variables and given/known data

The widths (in meters) of a kidney-shaped swimming pool were measured at 2 meter intervals as indicated in the figure. Use Simpson's Rule to estimate the area of the pool. Please round the answer to the nearest square meter.

a = 5.8
b = 6.6
c = 5.4
d = 5.8
e = 5.2
f = 4.8
g = 5.2

2. Relevant equations

I know that the general formula for Simpson's rule is $$\frac{b-a}{6}$$[f(a)+4f$$\frac{a+b}{2}$$+f(b)]

Which is applicable over n subintervals

3. The attempt at a solution[/b

My attempt was to do:

$$\frac{2}{6}$$[5.8+4$$\frac{5.8+6.6}{2}$$+6.6] + $$\frac{2}{6}$$[6.6+4$$\frac{6.6+5.4}{2}$$+5.4] +
...
$$\frac{2}{6}$$[4.8+4$$\frac{4.8+5.2}{2}$$+5.2]

But that did was not right.

My gripe is that the question does not allow me to find the function of $$\frac{a+b}{2}$$

Does anyone have any suggestions on how to tackle this problem? Thanks

#### Attached Files:

• ###### 7-7-030alt.gif
File size:
1.6 KB
Views:
21
2. Feb 17, 2009

### Unco

Denote f(x0)=a=5.8, f(x1)=b, f(x2)=c, ..., f(x6)=g.

The formula you stated (let me replace a and b with x and y, respectively, to avoid confusion with your problem) requires values of f at x, y and their midpoint (x+y)/2, so to apply it to the problem one would group the intervals as {x0, x1, x2}, {x2, x3, x4}, {x4, x5, x6}, and apply the formula to each, then sum.

Note that in doing so you'll essentially derive Simpson's rule for a function tabulated at n points.

3. Feb 18, 2009

### bns1201

i did this, but the answer is not working...i'm getting (b-a)/6 is 4/6

any other suggestions to this because I am having trouble. thanks
I dont think it makes a difference but the answer is asked for in meters squared

4. Feb 18, 2009

### bns1201

anyone have suggestions?

5. Feb 18, 2009

### Dick

What you supposed to get (if you know)? The problem is a little ambiguous. For one, there are an odd number of points given and for another are you supposed to consider the ends of the pool where the width is zero and assume they are 2m from points a and g? One way to do it is split the seven points plus the two extra points into 3 groups of 3 points. But it's hard to know what they expect.

6. Feb 24, 2009

### Petrine

In this case the pool is 16 m wide and there are 8 subdivisions so delta x equals 2.

f(x_0)=0 and f(x_n)=0 since the edges of the pool have no height.

the resulting formula is:

(2/3)(0 + 4f(a) + 2f(b) + 4f(c) + ... + 4f(g) + 0)