Numerical integration: Difference between revisions
Content deleted Content added
→{{header|ALGOL 68}}: fix right rect to go all the way to b, not b-h |
→{{header|ALGOL 68}}: fixed mid rect, which was still wrong, sigh |
||
Line 232:
LONG REAL x:= a;
WHILE x <= b - h DO
sum := sum +
x +:= h
OD;
|