Numerical integration: Difference between revisions
Content added Content deleted
(Go solution) |
m ('round' defaults to 3) |
||
Line 1,859: | Line 1,859: | ||
(*/ H Sum 1.0) ) ) |
(*/ H Sum 1.0) ) ) |
||
(prinl (round (integrate square 3.0 7.0 30 simpson) |
(prinl (round (integrate square 3.0 7.0 30 simpson)))</lang> |
||
Output: |
Output: |
||
<pre>105.333</pre> |
<pre>105.333</pre> |
||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |
||