where can i find a computer code for

Simpson's 1/3 Rule using c++?

please help. thank you.