Numerical integration/Adaptive Simpson's method: Difference between revisions
Numerical integration/Adaptive Simpson's method (view source)
Revision as of 19:11, 19 May 2023
, 1 year ago→{{header|COBOL}}: Added in "need of improvement" - all numeric fields are currently unsigned.
(Forth before →{{header|Fortran}}) |
(→{{header|COBOL}}: Added in "need of improvement" - all numeric fields are currently unsigned.) |
||
Line 530:
{{works with|GnuCOBOL|3.1.2.0}}
{{improve|COBOL|All the numeric fields are unsigned in this program, so dalta < 0 will never be true - the pictures should have a leading s.}}
Rather than do recursions, I compute the x-intervals iteratively. No attempt is made to avoid recomputing values of sin(x).
|