Jump to content

Numerical integration/Adaptive Simpson's method: Difference between revisions

→‎{{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).
 
3,044

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.