SlopeField for the HP 38G
There are a few of issues that you should be aware of if you are attempting to typethis program into your calculator 'by hand':
- Each subprogram is named, and is accessed by name; e.g., the actual name given to the subroutine that resets/starts the sum parameters MUST be 'RSUMSSET'. If you are typing the program in by hand, this is the name that you should enter at the PROGRAM/NEW 'NAME:' prompt.
- The ampersand ('@') always marks the beginning of a comment. Within any line of the program, all of the text that lies to the right of an ampersand character will be ignored when the program is compiled. Since comments are not executed, they can all be omitted when entering the program 'by hand'.
- The hp38G parser is context-free: none of the of the program's 'white space' formatting has any effect on its execution. In particular, the indenting of lines in the display below is done purely for readability. It can be omitted without affecting the program's correct operation.
THIS PROGRAM HAS NOT BEEN PLACED IN THE PUBLIC DOMAIN. IN UNALTERED FORM, IT CAN BE USED FOR ANY NON-COMMERCIAL EDUCATIONAL PURPOSE. THECODE GIVEN BELOW SHOULD NOT BE MODIFIED IN ANY WAY WITHOUT THEWRITTEN PERMISSION OF THE AUTHOR. IF YOU USE ANY PART OF THE CODE OR ANY OF THEIDEAS WORKED OUT WITHIN IT, THE COPYRIGHT NOTICE INCLUDED IN THIS PROGRAM MUSTBE DISPLAYED AT YOUR PROGRAM'S STARTUP.
SETVIEWS for the Aplet
(Draw the slope field)
(Recall a previously stored sketch)
Click here to download an HP38G directory treecontaining this program.