Content deleted Content added
Replaced the wrong 'b' by 'x' in the first sentence description of the evaluation of y = ax^2+bx+c. |
No edit summary |
||
Line 24:
</pre>
: The first line initialises the sum by pushing the value zero onto the top of the accumulator stack.
: The second line introduces a loop, is spoken as "for 1 to
: In the third line, R causes one number to be read in and pushed onto the top of the accumulator stack, and the plus sign (+) causes that value to be added to the (partial) sum, leaving only the partial sum on the top of the accumulator stack.
: After the loop terminates, the (P) causes the final sum to be punched on a card.
|