Dear all,

Does anyone have some (relatively) simple code for calculating the Simpson's Rule for integration?

Many thanks in advance.

Regards,
John