Numerical integration: Difference between revisions

Content added Content deleted
(→‎{{header|Java}}: incorrect)
Line 1,402: Line 1,402:
<pre>105.333</pre>
<pre>105.333</pre>
=={{header|PureBasic}}==
=={{header|PureBasic}}==
{{incorrect|PureBasic|rightRect stops one h too soon; midRect does not sample midpoints but reimplements trapezium differently}}

{{trans|Ada}}
{{trans|Ada}}
<lang PureBasic>Procedure.d leftRect(a.d, b.d, n.d)
<lang PureBasic>Procedure.d leftRect(a.d, b.d, n.d)