Use Simpson's 3/8 rule to integrate a function
simp38(f, a, b, m = 100)
function to integrate
the a-bound of integration
the b-bound of integration
the number of subintervals to calculate
simp38 function uses Simpson's 3/8 rule to calculate the
integral of the function
f over the interval from
b. The parameter
m sets the number of intervals
to use when evaluating. Additional options are passed to the
f when evaluating.
the value of the integral
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.