I am trying to work with Simpson's 3/8 rule, but I wanted to double check my formula:
$$I(f) = \int_a^bf(x) dx \ \approxeq \ \frac{3h}{8}\left(f(a) \ + \ 3f\left(\frac{a+b}{3}\right) \ + \ 3f\left(2\left(\frac{a+b}{3}\right)\right) \ + f(b)\right)$$
However, wikipedia has the formula as:
$$I(f) = \int_a^bf(x) dx \ \approxeq \ \frac{3h}{8}\left(f(a) \ + \ 3f\left(\frac{2a+b}{3}\right) \ + \ 3f\left(\frac{a+2b}{3}\right) \ + f(b)\right)$$
I arrived at my formula by thinking I was calculating $f(x)$ at evenly spaced values of x, but now I'm not so sure.
Note that the wiki has evenly spaced values, for any consecutive pair in their formula the gap is $\frac{b-a}{3}$. Your steps do not obey that, the gaps I think are $\frac{b-2a}{3}$, $\frac{a+b}{3}$, and $\frac{2a+b}{3}$.