Numerical integration: Difference between revisions

m
Already have a link for this
m (Added wp links)
m (Already have a link for this)
Line 13:
answer = (h / 6) * (f(a) + f(b) + 4 * sum1 + 2 * sum2)
What it will be doing is computing integrals for multiple quadratics (like [http://en.wikipedia.org/wiki/Simpsons_rule the one shown in Wikipedia]) and summing them.
 
=={{header|Ada}}==
Anonymous user