home *** CD-ROM | disk | FTP | other *** search
/ Best of German Only 2 / romside_best_of_german_only_2.iso / dos / lernbild / matheass / english / mathass.doc < prev    next >
Text File  |  1993-06-30  |  118KB  |  2,552 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                                                                Version 7.1
  7.  
  8.            ┌──┐┌──┐ ┌─────┐┌─────┐┌─┐ ┌─┐      ┌─────┐ ┌────┐ ┌────┐
  9.            │  └┘  │ │ ┌─┐ │└─┐ ┌─┘│ │ │ │      │ ┌─┐ │ │ ┌──┘ │ ┌──┘
  10.            │ ┌┐┌┐ │ │ └─┘ │  │ │  │ └─┘ │      │ └─┘ │ │ └──┐ │ └──┐
  11.            │ │└┘│ │ │ ┌─┐ │  │ │  │ ┌─┐ │      │ ┌─┐ │ └──┐ │ └──┐ │
  12.            │ │  │ │ │ │ │ │  │ │  │ │ │ │ ┌─┐  │ │ │ │ ┌──┘ │ ┌──┘ │ ┌─┐
  13.            └─┘  └─┘ └─┘ └─┘  └─┘  └─┘ └─┘ └─┘  └─┘ └─┘ └────┘ └────┘ └─┘
  14.  
  15.  
  16.           (C) 1993: Bernd Schultheiss, D-69168 Wiesloch, Hufschmiedstr. 3
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                               C O N T E N T S :
  23.  
  24.  
  25.         1. Introduction ................................................. 1
  26.  
  27.         2. Hardware-Requirements ........................................ 2
  28.  
  29.         3. Copyright .................................................... 2
  30.  
  31.         4. Installation ................................................. 3
  32.  
  33.         5. Operation .................................................... 4
  34.            5.1 The Main Menu ............................................ 4
  35.            5.2 The Keyboard Layout ...................................... 5
  36.            5.3 The Texteditor ........................................... 7
  37.            5.4 Data Back Up, Snapshot and Hardcopy ...................... 8
  38.            5.5 The Calculators .......................................... 9
  39.            5.6 The Coordinate Systems .................................. 10
  40.  
  41.         6. The Menu Info ............................................... 11
  42.  
  43.         7. The Menu Algebra ............................................ 11
  44.  
  45.         8. The Menu Geometry ........................................... 17
  46.  
  47.         9. The Menu Analysis ........................................... 22
  48.  
  49.         10.The Menu Stochastics ........................................ 30
  50.  
  51.         11.The Menu Linear Algebra ..................................... 34
  52.  
  53.         12.Appendix A : Syntax ......................................... 37
  54.  
  55.         13.Appendix B : Supplements .................................... 38
  56.  
  57.         14.Appendix C : File Formats ................................... 39
  58.  
  59.         15.Appendix D : Printer Driver ................................. 41
  60.  
  61.         16.Appendix E : Hints and Tricks ............................... 42
  62.         
  63.  
  64.  
  65.                                  - 1 -
  66.  
  67.  
  68.         ┌─────────────────────────────────────────────────────────────────┐
  69.         │                1 .   I N T R O D U C T I O N                    │
  70.         └─────────────────────────────────────────────────────────────────┘
  71.  
  72.         The program  MATH.ASS. contains a  wide collection  of routines and
  73.         is designed to take away the horror of many mathematical problems.
  74.  
  75.         It is  NOT  a tutorial program for  mathematics  BUT  a MATHematics
  76.         ASSistant for teachers, students and any person facing mathematical
  77.         problems. But of course it does not prevent students checking their
  78.         homework with MATH.ASS. from improving their knowledge.
  79.  
  80.         All algorithms employed have been collected over the years and used
  81.         to make up this program. If a certain type of problem is missing or
  82.         in case  you know of any other  interesting  algorithms  I would be
  83.         pleased to get a note.
  84.  
  85.         The program is continuously being  revised  and  extended, and each
  86.         registered user may be offered the latest version at a small update
  87.         fee as soon as subtantial changes have been realized.
  88.  
  89.  
  90. «11                ┌────────────────────────────────────────┐
  91.         ┌──────────┤ W A R R A N T Y    D I S C L A I M E R ├─────────────┐
  92.         │          └────────────────────────────────────────┘             │
  93.         │                                                                 │
  94.         │       ---  PLEASE READ THIS INFORMATION CAREFULLY  ---          │
  95.         │                                                                 │
  96.         │  THE AUTHOR MAKES NO WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED,│
  97.         │  INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY │
  98.         │  AND/OR FITNESS FOR A PARTICULAR PURPOSE.                       │
  99.         │                                                                 │
  100.         │  THE AUTHOR DOES NOT ASSUME ANY LIABILITY FOR THE USE OF THIS   │
  101.         │  SOFTWARE BEYOND THE REGISTRATION FEE OF THIS SOFTWARE.         │
  102.         │                                                                 │
  103.         │  IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY ADDITIONAL       │
  104.         │  DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER    │
  105.         │  INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF,   │
  106.         │  OR INABILITY TO USE, THIS SOFTWARE AND ITS ACCOMPANYING        │
  107.         │  DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE      │
  108.         │  POSSIBILITY OF SUCH DAMAGES.                                   │
  109. »11     │                                                                 │
  110.         └─────────────────────────────────────────────────────────────────┘
  111.  
  112.         By the way, It should be stressed particularly  that the program is
  113.         not qualified to dry wet poodles.
  114.         
  115.  
  116.  
  117.                                  - 2 -
  118.  
  119.  
  120.         ┌─────────────────────────────────────────────────────────────────┐
  121.         │         2 .   H A R D W A R E   R E Q U I R E M E N T S         │
  122.         └─────────────────────────────────────────────────────────────────┘
  123.  
  124.         The program runs on all IBM compatible computers with
  125.  
  126.         - 640 KB memory
  127.  
  128.         - a CGA, HGC, EGA or VGA graphic card
  129.  
  130.         - If existing, mathematical co-processors such as 8087, 80287 or
  131.           80387 will be supported.
  132.  
  133.  
  134.  
  135.         ┌─────────────────────────────────────────────────────────────────┐
  136.         │                  3 .   C O P Y R I G H T                        │
  137.         └─────────────────────────────────────────────────────────────────┘
  138.  
  139.         The program MATH.ASS. is Shareware, i.e.:
  140.  
  141.         - It may/should be tested, copied and distributed !!!
  142.  
  143.         - If you want to use the program furtheron, you may become an
  144.           authorized user by remitting the registration fee.
  145.  
  146.         - Each change of the program or of the inherent files is a
  147.           violation of copyright.
  148.  
  149.         ┌─────────────────────── REGISTRATION FEE ────────────────────────┐
  150.         │                                                                 │
  151.         │ amounts :  20 $ US for private users                            │
  152.         │            40 $ US for schools, companies and other institutions│
  153.         │                                                                 │
  154.         │ payable to: Bernd Schultheiss, Hufschmiedstrasse 3              │
  155.         │             D-69168 Wiesloch, GERMANY                           │
  156.         │             VISA and MASTERCARD are accepted                    │
  157.         └─────────────────────────────────────────────────────────────────┘
  158.  
  159. «12     The amount of the registration fee depends on the payer.  A teacher
  160.         buying the program for his private use,  pays the smaller fee, even
  161.         if he wants to use the program in class.  If the program is  bought
  162.         for the school by the  governing body then the higher fee has to be
  163.         paid.
  164.  
  165.         Upon payment of the registration fee you will receive your personal
  166.         series number.  Please write  serial number, your name  and address
  167.         in the respective input fields of the program section Registration.
  168.         This will generate  the file  MATHASS.REG  and  hence  convert  the
  169.         shareware version into a  full version  lacking the  discrete  hint
  170.         at the bottom of your screen and the shareware screen.
  171.  
  172.         ┌─────────────────────────────────────────────────────────────────┐
  173.         │ Before passing the program  on to a third party you must delete │
  174.         │ the file  MATHASS.REG  containing  your personal serial number. │
  175.         └─────────────────────────────────────────────────────────────────┘
  176. »12     
  177.  
  178.  
  179.                                  - 3 -
  180.  
  181.  
  182.         ┌─────────────────────────────────────────────────────────────────┐
  183.         │               4 .  I N S T A L L A T I O N                      │
  184.         └─────────────────────────────────────────────────────────────────┘
  185.  
  186.         To install  MATH.ASS.  on your hard disc, you only have to create a
  187.         sub-directory  called  MATHASS  and copy all files  of the diskette
  188.         into this sub-directory.
  189.         For the DOS beginner the necessary steps are as follows:
  190.  
  191.         C:                   to change to the hard disc
  192.         CD \                 to change to the main directory
  193.         MD MATHASS
  194.         CD MATHASS
  195.         COPY A:*:*           as soon as the diskette is in drive A
  196.  
  197.         Of course you may give the  MATHASS sub-directory a different name,
  198.         and you do not necessarily have to create it in the  main directory
  199.         of C:.
  200.         If you want to start  MATHASS  out of a menu system or with a batch
  201.         file you  must call it out of the  MATHASS-sub-directory, otherwise
  202.         printer drivers cannot be found .
  203.  
  204.         If this is not possible for one or another reason you may put in as
  205.         parameter the files' path, for example:
  206.  
  207.         MATHASS \MATH\MA70\
  208.  
  209.         The program  automatically  recognizes the type of graphic card and
  210.         monitor (mono or color) being used and adjusts the graphic mode. If
  211.         this does not work on your computer  or if you want to run the pro-
  212.         gram on a  VGA card in a  different mode  you may start the program
  213.         with the following parameters:
  214.  
  215.         MATHASS MONO  with monochrome monitors
  216.         MATHASS EGA   to enforce EGA resolution
  217.         MATHASS HGC   to enforce HGC resolution
  218.         MATHASS CGA   to enforce CGA resolution
  219.  
  220. «14     To define the printer mode use  file  MATHASS.PRN.  You may install
  221.         two printers at a time by writing the names of both printer drivers
  222.         into this file.  To do so you must choose the menu section INFO and
  223.         start Installation.
  224.  
  225.         The window entitled " Available Files :" presents you all the files
  226.         having the suffix "DRV" i.e. all printer drivers. In the input mask
  227.         below you may assign the hardcopy routines initiated with  keys  F9
  228.         and  F10  to their printer drivers. These files contain the control
  229.         sequences for the  graphic hardcopy. If neither  your printer nor a
  230.         compatible printer is listed you may easily create your own printer
  231.         driver using a text editor.
  232.  
  233.         For detailed instructions see appendix D: Printer drivers
  234. »14
  235.         
  236.  
  237.  
  238.                                  - 4 -
  239.  
  240.  
  241.         ┌─────────────────────────────────────────────────────────────────┐
  242.         │                  5 .  O P E R A T I O N                         │
  243.         └─────────────────────────────────────────────────────────────────┘
  244.  
  245.  
  246.         5.1. The Main Menu
  247.         ───────────────────────────────────────────────────────────────────
  248.  
  249.         The program is started at the DOS prompt with  MATHASS [parameters].
  250.         Then the main menu appears as follows:
  251.  
  252.         ╔══════════════════════════════════════════════════════════════════╗
  253.         ║      ┌──┐┌──┐┌─────┐┌─────┐┌─┐ ┌─┐     ┌─────┐┌────┐┌────┐       ║
  254.         ║      │  └┘  ││ ┌─┐ │└─┐ ┌─┘│ │ │ │     │ ┌─┐ ││ ┌──┘│ ┌──┘       ║
  255.         ║      │ ┌┐┌┐ ││ └─┘ │  │ │  │ └─┘ │     │ └─┘ ││ └──┐│ └──┐       ║
  256.         ║      │ │└┘│ ││ ┌─┐ │  │ │  │ ┌─┐ │     │ ┌─┐ │└──┐ │└──┐ │       ║
  257.         ║      │ │  │ ││ │ │ │  │ │  │ │ │ │ ┌─┐ │ │ │ │┌──┘ │┌──┘ │ ┌─┐   ║
  258.         ║      └─┘  └─┘└─┘ └─┘  └─┘  └─┘ └─┘ └─┘ └─┘ └─┘└────┘└────┘ └─┘   ║
  259.         ╠═════╦════════╦══════════╦═════════╦════════════╦════════════╦════╣
  260.         ║ INFO║ ALGEBRA║ GEOMETRY ║ ANALYSIS║ STOCHASTICS║ LIN.ALGEBRA║ END║
  261.         ╠═════╩════════╬══════════╩═════════╩════════════╩════════════╩════╝
  262.         ║ General Info ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  263.         ║ Copyright    ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  264.         ║ Operation    ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  265.         ║ Installation ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  266.         ║ Registration ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  267.         ║ Annotation   ║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  268.         ╚══════════════╝▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  269.         ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  270.         ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  271.         ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  272.         ╔═══════════╦══════════════════════════════════════════════════════╗
  273.         ║ Vers. 7.1 ║ C'93: B.Schultheiss,D-69168 Wiesloch,Hufschmiedstr.3 ║
  274.         ╚═══════════╩══════════════════════════════════════════════════════╝
  275.  
  276.         In the main menu  you may select from seven menu sections (topics):
  277.         INFO, ALGEBRA, GEOMETRY, ANALYSIS, STOCHASTICS, LINEAR ALGEBRA  and
  278.         END  moving the cursor with the left/right keys. Below each section
  279.         a number of subdivisions is displayed. To make a selection you move
  280.         the cursor  Up/Down and start it by pressing the Enter key. You may
  281.         also start the menu sections directly with function keys  F1 to  F7
  282.         and their subdivisions with their initial letter.
  283.  
  284.         The data required for the  solution  of the chosen problem  must be
  285.         entered into one  or more  pages of so-called input masks.  You may
  286.         put in the terms  according to the given  order of the input fields
  287.         or you may move the  cursor  independently  from one input field to
  288.         another. The actually active field is displayed in reverse mode.
  289.  
  290.         If you get stuck at some point press function key  F1 for a display
  291.         of the keyboard layout or press function key F2 for detailed infor-
  292.         mation on the immediate problem.
  293.         
  294.  
  295.  
  296.                                  - 5 -
  297.  
  298.  
  299.  
  300.         5.2  The Keyboard Layout
  301.         ───────────────────────────────────────────────────────────────────
  302.         F1 = displays this help page    │  ESC      =  M A I N   M E N U
  303.         F2 = context sensitive help     │ Enter     =  next field
  304.         F3 = saves data in a file       │ PAGE down =  move on
  305.         F4 = loads data from a file     │ PAGE up   =  move back
  306.         F5 = Texteditor                 │ Ctrl Y    =  clear input field
  307.         F6 = undelete                   │ Ctrl L    =  clear all fields
  308.         F7 = save graphic as IMG        │ Insert    =  TAB-/EDIT-mode
  309.         F8 = save graphic as PCX        │──────────────────────────────────
  310.         F9 = Hardcopy 1 (see Install.)  │ TAB-mode (without cursor) :
  311.         F10= Hardcopy 2 (see Install.)  │ cursor keys = switch field
  312.         ─────────────────────────────── │ Home        = first field
  313.         Shift F1   store input data in  │ End         = last field
  314.             :      Registers R1 to R10  │──────────────────────────────────
  315.         Shift F10                       │ EDIT-mode (with cursor) :
  316.         ─────────────────────────────── │ Up/Down     = switch field
  317.           Alt F1   restore input data   │ left/right  = move cursor
  318.             :      form registers R1 to │ Home        = begin. of field
  319.           Alt F10  R10                  │ End         = end of field
  320.         ───────────────────────────────────────────────────────────────────
  321.  
  322.  
  323. «01     F1: If you press  F1 (Help) while working in a menu subdivision the
  324.             keyboard layout will appear on your screen.  The word "H E L P"
  325.             appears in the  upper right corner  of your  screen  instead of
  326.             "F1/F2=Help" and of "ESC = Quit HELP" at the bottom.  From this
  327.             you know  that you are in a help text.  In addition, if working
  328.             on a color  monitor in  EGA- or  VGA-mode the  background color
  329.             of your screen changes as soon as you get into a help text.
  330.         F2: If you press F2 ( the second help key ) while working in a menu
  331.             subdivision the respective chapter of the manual will appear on
  332.             the screen. In longer  help texts  you may switch from one page
  333.             to another with  Page Down/Page Up  keys and with Down/Up keys.
  334.             A small bar at the  right margin  of the text will show you the
  335.             position in the text.
  336.         F3: As soon as you have saved your input data in a file by pressing
  337.             F3 you may load it again with key F4. F4 will display a list of
  338.             all files with the suffix  DAT in the current directory as well
  339.             as an input mask for the file name you want to select.
  340.         F4: see F3
  341.         F5: With the help of a  small-scale text editor  you may write e.g.
  342.             captions  or  remarks in a function graph.  For a more detailed
  343.             description see page after next.
  344.         F6: Working in the  TAB-mode  means that the contents of each input
  345.             is automatically  deleted prior to each new input.  Pressing F6
  346.             restores the former contents.
  347.         F7: If you want to transfer graphic data to a suitable word proces-
  348.             sing program you may save it in the format *.IMG by pressing F7
  349.             or in the format *.PCX by pressing F8.
  350.         F8: see F7
  351.         F9: Hardcopy 1  and 2  are routines which produce a printout of the
  352.             screen display.  You  may install  two printers  by listing the
  353.             corresponding printer drivers in the file MATHASS.PRN.
  354.         F10:see F9
  355.         
  356.  
  357.  
  358.                                  - 6 -
  359.  
  360.  
  361.  
  362.         The ESC key:
  363.             To quit the current  subdivision  and  return to the  main menu
  364.             press the ESC (=escape) key. Apart from this you must press the
  365.             the ESC key to leave the Help text or the Editor.
  366.  
  367.         The Page keys
  368.             By pressing the  PgDn / PgUp  keys you can switch from one page
  369.             to another within a  menu subdivision. E.g. there are six pages
  370.             for the curve discussion : The input of the function term,  the
  371.             display of the derivatives,  the display of zeros,  extrema and
  372.             points of inflection,  the input of the range of the graph, the
  373.             output of the graph and the output of the table of values.
  374.  
  375.             The input pages may contain several input fields. The necessary
  376.             input may be inserted in any order you like. In former  MATHASS
  377.             versions you could only delete and not edit the input if it had
  378.             to be corrected. As of version 7 you can switch between the TAB
  379.             and EDIT modes with the INS key.
  380.  
  381.         The TAB mode:
  382.             This is the usual input mode  which allows you to move from one
  383.             input field to another with the cursor keys.  The cursor is in-
  384.             visible  and characters are  appended in the active input field
  385.             (displayed in reverse mode).
  386.  
  387.         The EDIT mode:
  388.             In the active input field the  blinking cursor  indicates where
  389.             the next character will be inserted or where it will be deleted
  390.             when pressing the  DEL key.  You can move the cursor within the
  391.             input field by pressing the cursor keys left or right  and Home
  392.             or End. To move to the adjacent input field when working in the
  393.             EDIT mode you must press TAB /Shift TAB or Ctrl right/Ctrl left.
  394.             In doing so the TAB mode is automatically reactivated.
  395.  
  396.         The Delete keys:
  397.             In addition to the usual delete keys DEL and  Backspace you can
  398.             delete the contents of the active input field by pressing Ctrl Y
  399.             and the contents of the complete input page by pressing Ctrl L.
  400.  
  401.         The registers R1 to R10:
  402.             Terms you  have  entered in one  section of the program  may be
  403.             used in another section if you have  stored  them beforehand in
  404.             one of the registers R1 to R10.  By pressing  Shift F1 .... F10
  405.             you save the contents of the currently active input field.  You
  406.             can restore them again at any time by pressing  Alt F1 ... F10.
  407.             The last registers are used in some  menu subdivisions  to save
  408.             the produced results ( e.g. polynomials, regression...) for the
  409.             use in other menu subdivisions.
  410. »01
  411.  
  412.         
  413.  
  414.  
  415.                                  - 7 -
  416.  
  417.  
  418.  
  419.         5.3 The Text Editor (F5)
  420.         ───────────────────────────────────────────────────────────────────
  421.             To add remarks or captions to the results of a menu subdivision
  422.             prior to their printing  you can  activate a text editor out of
  423.             the text mode as well as out of the  graphic mode  with key F5.
  424.             You will know from the  caption in the  upper right corner that
  425.             you are in the  editor. In  addition, if  working  with a color
  426.             monitor in the EGA- or  VGA-mode  the background color  of your
  427.             screen changes as soon as you are in the editor.
  428.  
  429. «02     The Keyboard Layout of the text editor:
  430.  
  431.             Home          = moves the cursor to the beginning of a line
  432.             End           = moves the cursor to the end of a line
  433.             PgUp          = moves the cursor to the top of the screen
  434.             PgDn          = moves the cursor to the bottom of the screen
  435.             Enter <─┘     = moves the cursor to the beginning of the next
  436.                             line
  437.  
  438.             F1/F2         = shows you the keyboard layout of the editor
  439.             F3 to F5      = not defined
  440.             F6            = restores the background
  441.             F7            = saves graphic date as IMG
  442.             F8            = saves graphic data as PCX
  443.             F9            = hardcopy of printer 1 (see Installation)
  444.             F10           = hardcopy of printer 2 (see Installation)
  445.  
  446.             Shift F1 to F10 = SAVE  MA1.SCR, MA2.SCR, ..., MA10.SCR
  447.             Alt   F1 to F10 = LOAD  MA1.SCR, MA2.SCR, ..., MA10.SCR
  448.             Ctrl  F1 to F10 = MERGE MA1.SCR, MA2.SCR, ..., MA10.SCR
  449.  
  450.             The insert mode is not available since you write  directly into
  451.             the display memory. You can only overwrite the input.
  452.  
  453.             If you call the editor out of the  graphic mode the contents of
  454.             the screen will be saved. By pressing  F6 you may re-load those
  455.             parts of curves which have been overwriten.  Apart from this in
  456.             the  graphic mode  the cursor moves at  half line spacing  thus
  457.             improving the legibility of indices and exponents.
  458.  
  459.             With  SAVE, LOAD and MERGE  the screen contents which have been
  460.             annotated in the editor may be  saved, re-loaded or merged with
  461.             other screen contents.
  462.             The file names used are  MA1.SCR, MA2.SCR etc.
  463.  
  464.             MERGE only works in the  graphic mode  and of course gives only
  465.             proper results on condition that the  merged coordinate systems
  466.             have the same scales.
  467. »02
  468.             You may switch to the editor via  menu  section INFO/Annotation
  469.             in order to edit a graphic page which has been saved beforehand
  470.             by pressing Shift F1, ..., Shift F10.
  471.  
  472.         ───────────────────────────────────────────────────────────────────
  473.  
  474.             WARNING :  Each file created in  MATHASS  overwrites  any other
  475.             file of the same name.
  476.  
  477.         
  478.  
  479.  
  480.                                  - 8 -
  481.  
  482.  
  483.         5.4 Backup, Snapshot and Hardcopy
  484.         ───────────────────────────────────────────────────────────────────
  485.  
  486.         You have several options for saving your results:
  487.  
  488.         a) Data Backup
  489.         ──────────────
  490.         Press  F3  to save the contents of your input data in a file.  This
  491.         saves the contents of an input screen at a compressed form.  To re-
  492.         store the work session at a later time press key  F4  to reload the
  493.         data.
  494.  
  495.         Additionally in the menu subdivisions  Statistics and Regression of
  496.         the  menu section  STOCHASTICS, you may save all values or pairs of
  497.         values in an ASCII file so that they can be used in other programs,
  498.         too. The files in Statistics provide one line for each value, those
  499.         in Regression provide one line for each pair of values separated by
  500.         a comma. The file names consist of  maximum eight letters and fixed
  501.         suffixes i.e. '.st' or '.rg' resp.
  502.  
  503.  
  504.  
  505.         b) Snapshot
  506.         ───────────
  507.         In each menu subdivision  you can  save the contents of the current
  508.         screen by pressing F7 or F8. Both ways text is saved in ASCII files
  509.         named  MA1.TXT, MA2.TXT, etc.. With  F7  graphic screens  are saved
  510.         in the IMG format at  MA1.IMG, MA2.IMG etc. and with  F8 in the PCX
  511.         format at MA1.PCX, MA2.PCX etc..
  512.  
  513.         ┌─────────────────────────────────────────────────────────────────┐
  514.         │ The snapshot routines do  not  support the  VGA  graphic mode ! │
  515.         │ If you are working with VGA cards and you want to use the snap- │
  516.         │ shot function you  must  run the  program in the  EGA mode i.e. │
  517.         │ you must start it with MATHASS EGA.                             │
  518.         └─────────────────────────────────────────────────────────────────┘
  519.  
  520.         If the word processor or publishing program you want to import your
  521.         snapshots  shows them  white on black  start  MATHASS  by using the
  522.         parameter REVERSE.  The snapshot routines  are not available in the
  523.         main menu nor in the help mode.
  524.  
  525.  
  526.  
  527.         c) Hardcopy
  528.         ───────────
  529.         In former  MATHASS versions  F9 and  F10 were used to produce hard-
  530.         copies on  EPSON FX-80 and  NEC P6 resp. or on compatible printers.
  531.         As of version 7  a number of printer drivers are available  and the
  532.         file  MATHASS.PRN  tells you which  hardcopy routine, either  F9 or
  533.         F10, should be used.
  534.  
  535.         In the annex D: you find details of some printer drivers  and their
  536.         respective structures.  With the help of this list  you should find
  537.         it easy to create your own printer drivers and/or different  output
  538.         formats.
  539.         
  540.  
  541.                                  - 9 -
  542.  
  543.  
  544.         5.5 The Calculators
  545.         ───────────────────────────────────────────────────────────────────
  546.  
  547. «2A     The chapters Operations with Fractions, Large Numbers, Complex Num-
  548.         bers and  Place Value Systems  have  been  realized as  calculators
  549.         working in the "Inverse Polish Notation" thus  differing  from  the
  550.         "Algebraic Notation" in terms of the input methods.
  551.  
  552.         To perform a calculation you must firstly enter the two operands
  553.         separately and then indicate the operation to be performed.
  554.  
  555.                    ┌─────┐    ┌─────┐   ┌─┐ ┌─┐
  556.         Example: 4 │ENTER│ 12 │ENTER│ 5 │+│ │*│ corresponds to 4∙(12 + 5) =
  557.                    └─────┘    └─────┘   └─┘ └─┘
  558.  
  559.         The intermediate results obtained by the  calculation  of terms are
  560.         stored in four batch registers which are mostly named x, y, z and t.
  561.         Functions like  SIN or  COS affect register x. Operations such as +
  562.         or * combine x and y , the result is being stored in register x and
  563.         the other registers move up.
  564.  
  565.         The following example  demonstrates  the function of the four batch
  566.         registers x, y, z and t: Calculator for Large Numbers.
  567.  
  568.                         ( 9 + 8 ) · ( 7 + 2 )
  569.         problem         ─────────────────────
  570.                               8 + 3 · 4
  571.  
  572.          input        contents of x, y, z and t
  573.         ───────       ─────────────────────────────────────────
  574.            9             x = 9
  575.          ENTER           x = 9     y = 9
  576.            8             x = 8     y = 9
  577.            +             x = 17
  578.          ENTER           x = 17    y = 17
  579.            7             x = 7     y = 17
  580.          ENTER           x = 7     y = 7     z = 17
  581.            2             x = 2     y = 7     z = 17
  582.            +             x = 9     y = 17
  583.            *             x = 153
  584.          ENTER           x = 153   y = 153
  585.            8             x = 8     y = 153
  586.          ENTER           x = 8     y = 8     z = 153
  587.            3             x = 3     y = 8     z = 153
  588.          ENTER           x = 3     y = 3     z = 8     t = 153
  589.            4             x = 4     y = 3     z = 8     t = 153
  590.            *             x = 12    y = 8     z = 153
  591.            +             x = 20    y = 153
  592.            /             x = 7.65
  593.  
  594.         Firstly the operation  9 + 8  is performed  and put into  the batch
  595.         register, then  7 + 2.  Both sums are multiplied and the product is
  596.         put into the batch register (ENTER) etc.
  597. »2A     
  598.  
  599.  
  600.                                  - 10 -
  601.  
  602.  
  603.  
  604.         5.6 The Coordinate Systems
  605.         ───────────────────────────────────────────────────────────────────
  606. «03     In all program sections  plotting function graphs you must indicate
  607.         at the beginning  the range of values, the scaling of the axes, the
  608.         resolution to be used for the graphic  and the angle mode and apart
  609.         from this, whether or not the chart shall fill the complete screen.
  610.  
  611.         a) To improve  the depiction of the interval  the program automati-
  612.            cally adjusts the indicated range of values. For examples of the
  613.            range adjustment see below.
  614.  
  615.         b) For both axes the scaling may be normal i.e. with constant scale
  616.            divison or logarithmic. With logarithmic scaling, decimal powers
  617.            are used as labels and the lower limit if negative is set at 0.1.
  618.  
  619.         c) To a great extent the  resolution  accounts  for the accuracy of
  620.            the graph. If you choose to work in the  low resolution (0) only
  621.            every eighths  horizontal pixel is used for the  calculation  of
  622.            the function values.  Thus the function graph is  plotted  rela-
  623.            tively fast  but  maybe too  angular. In this case you can later
  624.            still increase the resolution. In the highest resolution (3) the
  625.            function value is calculated for each individual pixel.
  626.  
  627.         d) You may choose  between  measure of angle in radians, in degrees
  628.            or in grades. Correspondingly the arguments of the trigonometric
  629.            functions are calculated  as radians (RAD)  with a perigon angle
  630.            of pa=2π, as degrees (DEG) with pa=360° or  as grade (GON)  with
  631.            pa=400 gon. pa stands for plenus angulus.
  632.  
  633.         e) Zoom determines whether only the right half of the screen (0) or
  634.            the whole screen (1 to 5) is used  for the display of the graph.
  635.            In the full screen mode you can indicate the quadrant into which
  636.            you want to write the text.  Zoom = 5 implies a display  without
  637.            text in full screen mode.
  638.  
  639.         f) Examples for the adjustment of the range of values:
  640.  
  641.          - with normal scaling
  642.                               ┌────┬────┬────┬────┬────┬────┬────┬────┐
  643.            -1.5 ≤ x ≤ 2.1          1         0         1         2
  644.                               ┌──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┬──┐
  645.            -1.5 ≤ x ≤ 9.4    -2     0     2     4     6     8    10
  646.                               ┌────┬────┬────┬────┬────┬────┬────┬────┬───┐
  647.            -0.8 ≤ x ≤ 0.1    -.8       -.6       -.4       -.2        0
  648.                               ┌────────┬────────┬────────┬────────┬───────┐
  649.             -7  ≤ x ≤ 12     -10                0                10
  650.  
  651.          - with logarithmic scaling
  652.                               ┌────────────────────┬────────────────────┐
  653.             -4  ≤ x ≤  4     .1                    1                   10
  654.                               ┌─────────────┬─────────────┬─────────────┐
  655.            0.01 ≤ x ≤ 12     .01            1            10            100
  656. »03     
  657.  
  658.  
  659.                                  - 11 -
  660.  
  661.         ┌─────────────────────────────────────────────────────────────────┐
  662.         │               6 .  T H E    M E N U   I N F O                   │
  663.         └─────────────────────────────────────────────────────────────────┘
  664.  
  665.         The menu subdivisions General Info, Copyright and Operation provide
  666.         the essentials already described in chapters 1 to 5 of this manual.
  667.  
  668.         With  menu subdivision 'Installation' you can adjust  and  run your
  669.         printer,  with 'Annotation'  you can edit  and  print saved graphic
  670.         data.  For a more  detailed  description  of both functions  please
  671.         refer to pages 7 and 8.
  672.  
  673.         'Registration' displays the  input mask  for your  personal  serial
  674.         number,  your name and address which you must fill in to remove the
  675.         shareware reminder at the bottom of the screen. Upon receipt of the
  676.         registration fee ( see 3. Copyright )  you will get  your  personal
  677.         serial number .
  678.  
  679.  
  680.  
  681.  
  682.         ┌─────────────────────────────────────────────────────────────────┐
  683.         │            7 .  T H E   M E N U   A L G E B R A                 │
  684.         └─────────────────────────────────────────────────────────────────┘
  685.  
  686.  
  687.         7.1 Prime Numbers
  688.         ───────────────────────────────────────────────────────────────────
  689. «21     This part of the program calculates all prime numbers  and all twin
  690.         primes between two given numbers. The result may be directed to the
  691.         screen, to the printer or to the file PRIM.TXT .
  692.  
  693.         Prime numbers are all the natural numbers with exactly two divisors
  694.         Hence number 1 is not a prime number  and number 2 is the only even
  695.         prime number.
  696.  
  697.         Euklid already proved that there exists an infinite number of prime
  698.         numbers. And it is proven too that the intervals in the sequence of
  699.         primes are not limited whatsoever.
  700.  
  701.         Twin primes are two primes with a difference of two  e.g. 10007 and
  702.         10009 or 1000018709 and 1000018711.
  703.  
  704.         If the difference between the  upper  and the  lower  limit exceeds
  705.         50000 the range is automatically limited to 50000. If the output is
  706.         routed to the screen the  program  displays  only as many primes as
  707.         will fit onto the screen.
  708. »21
  709.  
  710.         7.2 Prime Factorization
  711.         ───────────────────────────────────────────────────────────────────
  712.         The program factorizes natural numbers into their prime powers.
  713. «22     The prime factorization  or canonical representation of a number is
  714.         unique except for the order of the factors.
  715.  
  716.         Examples : 123456789      = 3^2 ∙ 3607 ∙ 3803
  717.  
  718.                    1234567890001  = 304643 ∙ 4052507
  719.  
  720.                    12345678900001 = prime number  (takes a little longer)
  721. »22     
  722.  
  723.  
  724.                                  - 12 -
  725.  
  726.  
  727.         7.3  G.C.F. and L.C.M.
  728.         ───────────────────────────────────────────────────────────────────
  729.         The program determines for two numbers  a and b the greatest common
  730.         factor ( G.C.F. ), the lowest common multiple ( L.C.M. )  and their
  731.         respective set of divisors.
  732.  
  733. «23     Example :     a = 1001        b = 3575
  734.  
  735.                       greatest common factor       G.C.D = 143
  736.                       lowest common multiple       L.C.M = 25025
  737.  
  738.                       T(a) = { 1 7 11 13 77 91 143 1001 }
  739.                       T(b) = { 1 5 11 13 25 55 65 143 275 325 715 3575 }
  740.  
  741.         The G.C.F. is the biggest element in the intersection of the set of
  742.         divisors of a and b.  In fractional arithmetics  the  G.C.F. of the
  743.         numerator and of the denominator is the biggest number by which the
  744.         fraction may be cancelled.
  745.  
  746.         The  L.C.M. is the smallest element in the intersection  of the set
  747.         of multiples of a and b.  In fractional arithmetics  the  L.C.M. of
  748.         two denominators is called the common denominator.
  749.  
  750.         If you have already determined the  G.C.F.(a,b), the L.C.M.(a,b) is
  751.         determined by the formula
  752.  
  753.                              L.C.M(a,b) = a∙b / G.C.D(a,b)
  754. »23
  755.  
  756.         7.4 Decimal Fractions -> Vulgar Fractions
  757.         ───────────────────────────────────────────────────────────────────
  758. «24     Each  decimal fraction  may  be represented  as a  vulgar fraction.
  759.         In the case of  terminating decimal fractions  you simply  move the
  760.         decimal point to the right  and take the corresponding power of ten
  761.         as its denominator.
  762.  
  763.         As for recurring decimal fractions see formulas below:
  764.           _            _                   _
  765.         0.1 = 1/9 ,  0.2 = 2/9 ,  ... ,  0.9 = 9/9 = 1
  766.            _              _
  767.         0.01 = 1/90 ,  0.02 = 2/90 , ...
  768.           __             __                            ___
  769.         0.01 = 1/99 ,  0.02 = 2/99 , ...          0.000001 = 1/999000
  770.  
  771.         The program transforms  recurring  as well as  terminating  decimal
  772.         fractions into  vulgar  fractions  after  you  have put in the non-
  773.         recurring part of the decimal and the recurring decimal seperately.
  774.  
  775.         Example 1 : non-recurring part : 1.20
  776.                     recurring decimal  : 045
  777.                          ___
  778.                     1.20045 = 120/100 + 1/2220 = 533/444
  779.  
  780.         Example 2 : non-recurring part : 1.20
  781.                     recurring decimal  : 9
  782.  
  783.                     1.209 = 120/100 + 1/100 = 121/100
  784. »24
  785.         
  786.  
  787.  
  788.                                  - 13 -
  789.  
  790.  
  791.         7.5 Vulgar Fractions -> Decimal Fractions
  792.         ───────────────────────────────────────────────────────────────────
  793. «25     Each  vulgar fraction may be represented as a  decimal fraction. If
  794.         a series of digits is repeated ad infinitum in the decimal fraction
  795.         it is called a recurring decimal fraction.  The repeating series of
  796.         digits is called the  recurring decimal  and it is marked by a line
  797.         above.
  798.  
  799.         The program transforms  vulgar fractions into terminating or recur-
  800.         ring decimal fractions and determines the recurring decimal as well
  801.         as its length after you have put in the numerator and the denomina-
  802.         tor of the fraction.
  803.  
  804.         Example 1 :  numerator  : 533
  805.                      denominator: 444
  806.                                    ___
  807.                      533/444 = 1.20045
  808.                                The recurring decimal starts with the 3rd
  809.                                digit following the decimal point
  810.                                and is 3 digits long.
  811.  
  812.         Example 2 :  numerator  : 124
  813.                      denominator: 125
  814.  
  815.                      124/125 = 0.992    a terminating decimal fraction
  816.  
  817.         If the depiction of a decimal fraction exceeds one line  three dots
  818.         mark its abortion.
  819. »25
  820.  
  821.         7.6 Binomials of n-th degree
  822.         ───────────────────────────────────────────────────────────────────
  823. «26     One of the most  popular  formulars of school-level mathematics  is
  824.         certainly the binomial formular
  825.  
  826.                             (a + b)² = a² + 2ab + b²
  827.  
  828.         The program calculates the more general theorem
  829.                             (a∙x + b∙y)^n   mit   2 ≤ n ≤ 44
  830.  
  831.         Example :   (3x - 4y)^7 = +2187∙x^7
  832.                                   -20412∙x^6∙y
  833.                                   +81648∙x^5∙y^2
  834.                                   -181440∙x^4∙y^3
  835.                                   +241920∙x^3∙y^4
  836.                                   -193536∙x^2∙y^5
  837.                                   +86016∙x∙y^6
  838.                                   -16384∙y^7
  839.  
  840.         If a=1 and b=1  you get the numbers of the Pascal triangle i.e. the
  841.         binomial coefficients  where  each of them is  the  sum  of the two
  842.         numbers overhead.              1
  843.                                     1     1
  844.                                  1     2     1
  845.                               1     3     3     1
  846.                            1     4     6     4     1
  847. »26
  848.         
  849.  
  850.  
  851.                                  - 14 -
  852.  
  853.  
  854.         7.7 Equations of the 4th degree
  855.         ───────────────────────────────────────────────────────────────────
  856.         The program determines the real solutions of an equation of the 4th
  857.         or of a lower degree. You must put in the coefficients a to e, with
  858.         a being the coefficient of x^4.
  859. «27     For equations of a  higher  degree than  4  no  algebraic solutions
  860.         except approximate computation (zeros in the menu subdivision Curve
  861.         Discussion). Sometimes the polynomial division offers a solution.
  862.  
  863.         For example if  q is the result of trial the polynomial division by
  864.         (x-q)  provides an equation of lower degree whose solution contains
  865.         the rest of the results.
  866.  
  867.         Examples : a) x^4 + 2x^3 - 8x^2 -18x - 9 = 0
  868.                       Input   a=1, b=2, c=-8, d=-18  and  e=-9
  869.                       Solution  L = ( -3, -1, 3 )
  870.  
  871.                    b) x^5 - x^4 - 16x + 16 =0
  872.                       Solution resulting from trial  x = 1.
  873.                       With the program polynomial division the left side of
  874.                       equation is divided by  (x-1).
  875.                       The  zeros  of the  polynomial  x^4 - 16  provide the
  876.                       rest of the results.
  877. »27
  878.  
  879.  
  880.         7.8 Diophantine Equations
  881.         ───────────────────────────────────────────────────────────────────
  882. «28     Named after Diophantus of Alexandria  ( ca. 250 A.D. ),  who in his
  883.         book  Arithmetica  seeks to solve  linear and  square equations and
  884.         especially to find their integral solutions.
  885.  
  886.         The program computes the integral solutions of the equation
  887.  
  888.                      a∙x - b = m∙y    with   m > 0
  889.  
  890.         This for example  permits the  determination of the integral points
  891.         in a straight line.
  892.  
  893.         Example: The straight line with the equation y = 7/3∙x - 5/3
  894.                                                     <=>  7∙x - 5 = 3∙y
  895.                  comprises the integral points
  896.                         L = { (x/y) │ x=2+3t, y=3+7t and t integral }
  897.                           = { (2/3),(5/10),(-1/-1),(8/17), ... }
  898. »28
  899.  
  900.         7.9 Pythagorean Tripels
  901.         ───────────────────────────────────────────────────────────────────
  902. «29     Pythagorean tripels are integral solutions (x,y,z)  of the equation
  903.         x² + y² = z² ,  standing for the sides of right-angled triangles.
  904.  
  905.         The program computes  all  Pythagorean  tripels  not bigger  than a
  906.         determined number.  With  x, y, z < 60  you get:
  907.  
  908.           3   4   5       5  12  13       8  15  17       7  24  25
  909.          20  21  29       9  40  41      12  35  37      28  45  53
  910. »29     
  911.  
  912.  
  913.                                  - 15 -
  914.  
  915.  
  916.         7.10 Calculator for Big Numbers
  917.         ───────────────────────────────────────────────────────────────────
  918. «04     The program works as a  scientific  calculator  of  Reverse  Polish
  919.         Notation  (RPN), i.e. at first you put in the operands and then the
  920.         operation (see manual 5.5).
  921.  
  922.         The program calculates with  60 digits behind the decimal point and
  923.         displays the first  48  numbers. If there are more than  48  digits
  924.         before the decimal point  the program  changes the ordinary display
  925.         to a floating point display with tenths power exponents  of maximum
  926.         four digits.  When calculating  with  Big Numbers  please note that
  927.         only  48  positions  are  displayed  while the internal calculatory
  928.         process may include  2000 and more digits.
  929.  
  930.         Apart from the basic arithmetic operations  and from exponentiation
  931.         the  RPN Calculator provides the functions  SIN, COS, TAN, ATN, LN,
  932.         EXP, FAC (x!)  as well as the constant Pi () and in addition, as is
  933.         normal with  RPN calculators,  batch  operations  such as scrolling
  934.         (arrow keys) or exchanging (x - y).  With  MODE  you may change the
  935.         angle for trigonometric functions.
  936.  
  937.         Examples :
  938.                       ┌─────┐               ┌─┐
  939.         1 234 567 890 │ENTER│ 9 876 543 210 │*│
  940.                       └─────┘               └─┘
  941.         amounts to    12 193 263 111 263 526 900
  942.  
  943.  
  944.           ┌─────┐    ┌─┐
  945.         2 │ENTER│ 64 │^│    amounts to   184 467 440 737 709 551 616
  946.           └─────┘    └─┘
  947.            ┌─┐
  948.         40 │F│ amounts to
  949.            └─┘
  950.         815 915 283 247 897 734 345 611 269 596 115 894 272 000 000 000
  951. »04
  952.  
  953.  
  954.  
  955.  
  956.         7.11 Calculator for Fractions
  957.         ───────────────────────────────────────────────────────────────────
  958. «05     For the computation of fractional arithmetics  the program provides
  959.         a calculator of  Reverse Polish Notation,  i.e.  you  must at first
  960.         enter the operands  and then the calculatory operation ( see manual
  961.         5.5 ).
  962.  
  963.         Apart from the four basic arithmetic operations  and exponentiation
  964.         with integer exponents the RPN calculator provides batch operations
  965.         such as scrolling (arrow keys) and exchanging (x<->y).
  966.  
  967.         Numerators and denominators of a fraction  must be entered separat-
  968.         ly. To switch from one field to another press <- or ->.
  969.  
  970.                     ┌──┐    ┌─────┐    ┌──┐   ┌─┐
  971.         Example:  9 │->│ 16 │ENTER│ 24 │->│ 5 │+│   means   9/16 + 24/5
  972.                     └──┘    └─────┘    └──┘   └─┘
  973.                                            and amounts to   93/80
  974. »05
  975.         
  976.  
  977.  
  978.                                  - 16 -
  979.  
  980.  
  981.         7.12 Calculator for Place Value Systems
  982.         ───────────────────────────────────────────────────────────────────
  983. «06     For  Place  Value  Systems  the program  provides  a  calculator of
  984.         Reverse Polish Notation, i.e. at  first you enter the operands  and
  985.         then the calculatory operation (see manual 5.5)
  986.  
  987.         Apart from the four basic arithmetic operations  and exponentiation
  988.         with natural exponents the RPN calculator provides batch operations
  989.         such as scrolling (arrow keys) and exchanging (x<->y).
  990.         It calculates  only in the area of  natural numbers including zero,
  991.         i.e. negative differences are put to zero  and remainders are trun-
  992.         cated.
  993.  
  994.         By pressing  Ctrl B  you may change the basis. The biggest basis is
  995.         16 (hexadecimal) with the digits  0,...,9, A, B, C, D, E, F.
  996.  
  997.         Example with basis of 2 :
  998.  
  999.                    10000000          decimal 128
  1000.                      Enter
  1001.                      101011          decimal 43
  1002.                      +
  1003.         amounts to 10101011          decimal 171 = 128+0+32+0+8+0+2+1
  1004.                      Ctrl B
  1005.                      16              change to hexadecimal system
  1006.                      Enter
  1007.         amounts to   AB              decimal 171 = 10∙16 + 11
  1008. »06
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.         7.13 Calculator for Complex Numbers
  1015.         ───────────────────────────────────────────────────────────────────
  1016. «07     For  Complex Numbers  the program provides a calculator of  Reverse
  1017.         Polish Notation, i.e. at first you enter the operands  and then the
  1018.         calculatory operation (see manual 5.5).
  1019.  
  1020.         Apart from the basic arithmetic operations  and from exponentiation
  1021.         the RPN Calculator  provides the functions  SIN, COS, TAN, ATN, LN,
  1022.         EXP, KONJ., √, as well as the constant  Pi (π)  and in addition, as
  1023.         is normal with  RPN calculators, batch operations such as scrolling
  1024.         (arrow keys) or exchanging (x<->y).  With  MODE  you may change the
  1025.         angle for trigonometric functions.
  1026.  
  1027.  
  1028.         The real part and the imaginary part of the numbers  are entered in
  1029.         separate fields. To switch from one field to another press <- or ->.
  1030.  
  1031.         Example:  ( 3 + 4i )( 3 - 4i ) = 25
  1032.                      ┌──┐   ┌─────┐ ┌────┐ ┌───┐
  1033.                    3 │->│ 4 │ENTER│ │KONJ│ │ * │    makes   25 + 0i
  1034.                      └──┘   └─────┘ └────┘ └───┘
  1035. »07
  1036.  
  1037.         ───────────────────────────────────────────────────────────────────
  1038.         When using the  RPN calculators  for your data input there are less
  1039.         functions  available  than in the  rest  of the program,  e.g. your
  1040.         input may not be edited or stored.
  1041.         
  1042.  
  1043.  
  1044.                                  - 17 -
  1045.  
  1046.  
  1047.         ┌─────────────────────────────────────────────────────────────────┐
  1048.         │            8 .  T H E   M E N U   G E O M E T R Y               │
  1049.         └─────────────────────────────────────────────────────────────────┘
  1050.  
  1051.  
  1052.         8.1. Right-angled Triangles
  1053.         ───────────────────────────────────────────────────────────────────
  1054. «31     A right-angled triangle mostly is well-determined by two magnitudes
  1055.         and the right angle. In the program you are asked to choose  two of
  1056.         the following elements and then to enter their values:
  1057.  
  1058.                     - catheti a and b
  1059.                     - hypotenuse c
  1060.                     - hypotenuse sections p and q
  1061.                     - altitude h
  1062.                     - angles alpha and beta
  1063.                     - area A
  1064.  
  1065.         If you enter the values of  two  out of these  nine  magnitudes and
  1066.         confirm your input by pressing  Page Down  the program will compute
  1067.         the others. You may plot the triangle with menu subdivision Triang-
  1068.         les by three magnitudes.
  1069. »31
  1070.  
  1071.         8.2 Triangles defined by three magnitudes
  1072.         ───────────────────────────────────────────────────────────────────
  1073. «32     Enter three exterior magnitudes (sides or angles)  and confirm your
  1074.         input with  Page Down, then the program will compute the sides, the
  1075.         angles, the altitudes, the medians and the bisectors of the angles,
  1076.         the circumference and the area  as well as the centres and radiuses
  1077.         of the inscribed and the circumscribed circle of the triangle.
  1078.         In addition the program  draws the triangle  with its inscribed and
  1079.         circumscribed circles.
  1080.  
  1081.         If you enter two sides  and the angle opposite of the shorter side,
  1082.         you will get the first solution.  To get the second solution  press
  1083.         any key.
  1084.  
  1085.         Example :   a = 3, b = 4,  Alpha = 36.87°
  1086.  
  1087.                     1. solution :  sides       3       4       5
  1088.                                    angles  36.87°  53.13°     90°
  1089.                                    :
  1090.                     2. solution    sides       3       4     1.4
  1091.                                    angles  36.87°  126.9°  16.26°
  1092. »32
  1093.  
  1094.         8.3 Triangles defined by three Vertices
  1095.         ───────────────────────────────────────────────────────────────────
  1096. «33     If you enter the  coordinates  of the  three vertices of a triangle
  1097.         the program computes all exterior and interior magnitudes, i.e. the
  1098.         sides, the angles, the altitudes, the radians  and the bisectors of
  1099.         the angles, the circumference  and the area  as well as the centres
  1100.         and the radiuses of the  circumscribed  and the inscribed circle of
  1101.         the triangle. In addition the program  plots the triangle  with its
  1102.         circumscribed and inscribed circle.
  1103.  
  1104. »33     
  1105.  
  1106.  
  1107.                                  - 18 -
  1108.  
  1109.  
  1110.         8.4 Polygons
  1111.         ───────────────────────────────────────────────────────────────────
  1112. «34     At first  you  must  enter the  coordinates  of the vertices of the
  1113.         polygon.  The program  provides an input mask for a  maximum of  14
  1114.         vertices  A to  N.  The last vertex must differ from the origin. As
  1115.         soon as you have  confirmed  the input by  pressing  Page Down  the
  1116.         program seeks the  last vertex  different  from  the origin  of the
  1117.         ordinates so as to compute the number of vertices.
  1118.  
  1119.         Then the area, the circumference and the coordinates of the
  1120.         centroid are displayed and the polygon is plotted.
  1121. »34
  1122.  
  1123.         8.5 Mappings
  1124.         ───────────────────────────────────────────────────────────────────
  1125. «35     With  MATHASS  it is possible  to produce up to five  mappings of a
  1126.         polygon.  The input and output  of the relevant data  requires four
  1127.         masks.
  1128.  
  1129.             ┌──────────────────────────────────┐
  1130.             │ Enter the polygon                │
  1131.             │    ┌──────────────────────────────────┐
  1132.             │    │ Select type of mapping           │
  1133.             │    │    ┌──────────────────────────────────┐
  1134.             │    │    │ Define mapping                   │
  1135.             │    │    │    ┌──────────────────────────────────┐
  1136.             │    │    │    │ Plot the mappings of the polygon │
  1137.             └────│    │    │                                  │
  1138.                  │    │    │                                  │
  1139.                  └────│    │                                  │
  1140.                       │    │                                  │
  1141.                       └────│                                  │
  1142.                            └──────────────────────────────────┘
  1143.         Mask 1:
  1144.         At first you must enter the coordinates of the polygon into an mask
  1145.         with a maximum of 14 vertices A to N. As soon as you have confirmed
  1146.         the input by pressing  Page Down  the program seeks the last vertex
  1147.         different from the  origin  of the  ordinates  so as to compute the
  1148.         number of vertices.
  1149.  
  1150.         Mask 2:
  1151.         You may connect up to five mappings. For each mapping you may
  1152.         choose from six types of mappings (see below):
  1153.  
  1154.         - translation by dx in direction x and by dy in direction y
  1155.         - axial symmetry (PQ)
  1156.         - point symmetry Z
  1157.         - rotation around point Z with angle α
  1158.         - homothetic stretching out of Z by factor k
  1159.         - shear transformation by line PQ with angle α
  1160.  
  1161.         It is also possible to  choose several  mappings  of the same kind.
  1162.         This means that you can produce multiple symmetries of a polygon of
  1163.         different lines.
  1164.         
  1165.  
  1166.  
  1167.                                  - 19 -
  1168.  
  1169.  
  1170.         Mask 3:
  1171.         You define the mappings by entering the parameters required for the
  1172.         selected type of mapping, i.e.
  1173.  
  1174.         - the vector (dx/dy) for the translation
  1175.         - two points P and Q of the axe of symmetry
  1176.         - center Z for the point symmetry
  1177.         - point Z and angle α for the rotation
  1178.         - point Z and factor k for the homothetic stretching
  1179.         - two points P and Q of the axe, angle α for the shear transf.
  1180.  
  1181.         Mask 4:
  1182.         For each of the connected mappings the image and the coordinates of
  1183.         the vertices are plotted.
  1184.  
  1185.         If you enter  zero in the field  line styles  the image will not be
  1186.         plotted.  This facilitates  e.g. the immediate display of the image
  1187.         of a composition of rotation and stretching or translation.
  1188.  
  1189.         The original polygon is always plotted in line style 1, i.e. in a
  1190.         full black line.
  1191.  
  1192. »35
  1193.  
  1194.         8.6 Coordinate Systems
  1195.         ───────────────────────────────────────────────────────────────────
  1196. «36     With MATHASS  you may transform three-dimens. cartesian coordinates
  1197.         into three-dimensional polar coordinates or cylindrical coordinates
  1198.         and vice versa.
  1199.  
  1200.         In a cartesian coordinate system (x/y/z) a point is located  by its
  1201.         distance from  each of  three  mutually  perpendicular intersecting
  1202.         lines with the same unit of length.
  1203.  
  1204.         In a  polar coordinate system  (r/phi/Theta) a point is located  by
  1205.         its  radius vector, the  angle of rotation  phi  on the  equatorial
  1206.         plane and the angle of elevation  Theta  from the equatorial plane.
  1207.  
  1208.         In a  cylindrical coordinate system  (rho/phi/z) a point is located
  1209.         by its distance  rho  from the cylinder axis, the angle of rotation
  1210.         phi around the axis and the altitude  z  above the origin.
  1211.  
  1212.         Setting  z at 0  or  Theta at 0 the program computes the two-dimen-
  1213.         sional cartesian coordinates  or  two-dimensional polar coordinates
  1214.         respectively.
  1215.  
  1216.         Ex.: ┌─── cartesian ────┐ ┌────── polar ─────┐ ┌─── cylindrical ──┐
  1217.              │                  │ │                  │ │                  │
  1218.              │  x = 1           │ │   r = 1.7320508  │ │ rho = 1.4142136  │
  1219.              │  y = 1           │ │ phi = 45         │ │ phi = 45         │
  1220.              │  z = 1           │ │Theta= 54.735610  │ │   z = 1          │
  1221.              │                  │ │                  │ │                  │
  1222.              └──────────────────┘ └──────────────────┘ └──────────────────┘
  1223. »36
  1224.         
  1225.  
  1226.  
  1227.                                  - 20 -
  1228.  
  1229.  
  1230.         8.7 Plane determined by three points
  1231.         ───────────────────────────────────────────────────────────────────
  1232. «37     Three non-collinear points  determine exactly one plane.  Given the
  1233.         coordinates of three points the  program  computes  the equation of
  1234.         this plane in the  point-slope  form and in the form of coordinates
  1235.         as well as its  distance  from  the  origin  with  the  directional
  1236.         vectors  and  the  normal  vectors  being increased to integers. In
  1237.         addition to this the position  of the plane in the space is plotted
  1238.         including its lines intersecting  a  cube  symmetric to the axes as
  1239.         well as its trace points.
  1240.  
  1241.         Example: Plane determined by points A(2/0/1), B(3/3/6), C(4/-1/2)
  1242.                       ┌ ┐     ┌ ┐     ┌  ┐
  1243.                   ->  │2│     │1│     │ 2│
  1244.                   x = │0│ + r∙│3│ + s∙│-1│    v.v.   8x + 9y - 7z = 9
  1245.                       │1│     │5│     │ 1│
  1246.                       └ ┘     └ ┘     └  ┘
  1247. »37
  1248.  
  1249.  
  1250.         8.8 Sphere determined by four points
  1251.         ───────────────────────────────────────────────────────────────────
  1252. «38     Four non-coplanar points  determine  exactly  one sphere. Given the
  1253.         coordinates of four points  the  program  computes  the equation of
  1254.         the sphere and a cube  symmetric  to the  axes is plotted including
  1255.         the sphere's great circle parallel to the image's plane.
  1256.  
  1257.         Example: A sphere determined by A(11/1/3), B(7/1/7), C(3/-5/7) and
  1258.                  D(3/-8/-2) has
  1259.  
  1260.                  a centre  M(5/-2/1)  and a radius r=7
  1261. »38
  1262.  
  1263.  
  1264.         8.9. Intersection of two lines
  1265.         ───────────────────────────────────────────────────────────────────
  1266. «39     Given two lines the  program  will  compute  their  point of inter-
  1267.         section,  the angle of intersection  and  their distances  from the
  1268.         origin.
  1269.  
  1270.         The lines must be defined as a  parametric  representation.  If the
  1271.         lines don't have any point in common you will see either of the two
  1272.         following messages: 'Parallel lines' or 'Skew lines'.
  1273.  
  1274.         Example :     ┌  ┐     ┌  ┐                    ┌  ┐     ┌  ┐
  1275.                       │ 1│     │ 1│                    │ 3│     │ 2│
  1276.                g: x = │ 0│ + r∙│-1│     and     h: x = │-2│ + s∙│ 3│
  1277.                       │ 2│     │ 1│                    │ 4│     │ 0│
  1278.                       └  ┘     └  ┘                    └  ┘     └  ┘
  1279.  
  1280.                Point of intersection    :  S(3/-2/4)   ( r=2, s=0 )
  1281.                Angle of intersection    :  99.2°
  1282.                Distances from origin    :  d(g,O) = 1.41 ,  d(h,O) = 5.39
  1283. »39
  1284.         
  1285.  
  1286.  
  1287.                                  - 21 -
  1288.  
  1289.  
  1290.         8.10 Intersection of two planes
  1291.         ───────────────────────────────────────────────────────────────────
  1292. «3A     Given two planes the program will compute the line of intersection,
  1293.         the line's distance from the origin  and the angle of intersection
  1294.         between the two planes.
  1295.  
  1296.         The program  plots  the intersection of the planes in a cube symme-
  1297.         tric to the axes and the line of intersection of the two planes.
  1298.  
  1299.         Example : Planes   E1: x + y + z = 12   and   E2: x - y = 5
  1300.                   intersect at              ┌  ┐     ┌  ┐
  1301.                                         ->  │ 0│     │ 1│
  1302.                                    g:   x = │-5│ + r∙│ 1│
  1303.                                             │17│     │-2│
  1304.                                             └  ┘     └  ┘
  1305.                   Distance from origin  :   d = 7.778175
  1306.                   Angle of intersection :   α = 90°
  1307. »3A
  1308.  
  1309.  
  1310.         8.11 Intersection of two spheres
  1311.         ───────────────────────────────────────────────────────────────────
  1312. «3B     Given the coordinates of the  center  and the  radii of two spheres
  1313.         the program  computes  the centre  and the  radius of the circle of
  1314.         intersection  as well as  the  coordinate equation  of the plane of
  1315.         intersection.  The three-dimensional  depiction  of all elements is
  1316.         only provisionary.  So far I have not  found  a reasonable solution
  1317.         for the depiction of two circles  and their circle of intersection.
  1318.  
  1319.         If you set a sphere's radius to  zero  and the centre to a point on
  1320.         the other sphere  the program  computes the equation of the tangen-
  1321.         tial plane.
  1322.  
  1323.         Example : Spheres  k1: M(1/3/9), r=7  and  k2: M(2/-1/5), r=4
  1324.                   intersect in a circle around  M(2/-1/5)  with radius
  1325.                   r=4, situated in plane  x - 4y - 4z = -14 .
  1326. »3B
  1327.  
  1328.  
  1329.         8.12 Intersection of plane and sphere
  1330.         ───────────────────────────────────────────────────────────────────
  1331. «3C     Given a  plane's  coordinate  equation  and  a  sphere's centre and
  1332.         radius the program computes the center and the radius of the circle
  1333.         of intersection.
  1334.  
  1335.         Example: Given plane  E  and sphere  k  with
  1336.                         E:  2x + y -2z = 11
  1337.                         K:  (x-2)^2 + (x+1)^2 + (x-5)^2 = 49
  1338.                         and centre  M(2/-1/5)  and radius  r=7
  1339.  
  1340.                   Result: The plane and the sphere intersect in a circle
  1341.                           around  M(6/1/1)  with radius  r=3.6056
  1342. »3C
  1343.         
  1344.  
  1345.  
  1346.                                  - 22 -
  1347.  
  1348.  
  1349.         ┌─────────────────────────────────────────────────────────────────┐
  1350.         │           9 .   T H E   M E N U   A N A L Y S I S               │
  1351.         └─────────────────────────────────────────────────────────────────┘
  1352.  
  1353.  
  1354.         9.1 Polynomials
  1355.         ───────────────────────────────────────────────────────────────────
  1356. «41     The program calculates the product and the quotient of two poly-
  1357.         nomials.
  1358.  
  1359.         Example: 1. Polynomial :  x^4 + 4x^3 + 6x^2 + 4x + 1
  1360.                  2. Polynomial :  x^2 + 2x + 1
  1361.  
  1362.                  Product  :  x^6 + 6x^5 + 15x^4 + 20x^3 + 15x^2 + 6x + 1
  1363.                  Quotient :  x^2 + 2x + 1
  1364.                  Remainder:  0
  1365.  
  1366.         The two  polynomials  as well as  their product, their quotient and
  1367.         the remainder polynomial are automatically written to the registers
  1368.         R6 to R10 ; they can, for example, be read as function terms in the
  1369.         function plotter by means of Alt F6 to Alt F10.
  1370. »41
  1371.  
  1372.  
  1373.         9.2 Function plotter 1
  1374.         ───────────────────────────────────────────────────────────────────
  1375. «42     Up to five functions can be plotted in one coordinate system at one
  1376.         time.
  1377.  
  1378.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1379.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1380.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1381.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1382.         sec and csc (secans and cosecans).
  1383.  
  1384.         Also allowed are  compositions  or  derivatives  of already defined
  1385.         functions.  For this purpose, f1(x), f2(x), etc. are simply substi-
  1386.         tuted by  y1, y2, etc. in the function.  The derivatives of  f1(x),
  1387.         f2(x), etc. are entered as y1', y2', ... respectively y1", y2", ...
  1388.         Compositions of functions  originating  from  compositions or deri-
  1389.         vations, are not allowed.
  1390.  
  1391.         Examples : Given  f1(x)=sin(x) and f2(x)=3*sqr(x), then
  1392.  
  1393.                    f3(x)=2*y1^2-y2   means  f3(x)=2*sin(x)^2-3*sqr(x)
  1394.                    f4(x)=f2(y1)        "    f4(x)=3*sqr(sin(x))
  1395.                    f5(x)=y2'           "    f5(x)=3/(2*sqr(x))
  1396.  
  1397.         For each of the defined functions  one line style  can be selected;
  1398.         in case of  EGA  and  VGA  graphics  the user may chose  one of the
  1399.         colors red, green, blue or black.
  1400. »42
  1401.         Range, scaling, accuracy,  angle mode,  full or half screen will be
  1402.         determined on the next page.
  1403.         
  1404.  
  1405.  
  1406.                                  - 23 -
  1407.  
  1408.  
  1409.         9.3 Function plotter 2
  1410.         ───────────────────────────────────────────────────────────────────
  1411. «43     This little routine was added by me so as to enable the plotting of
  1412.         several functions in separate diagrams. Six functions can be plotted
  1413.         graphically in one print-out.
  1414.  
  1415.         Range, axial scale, plotting accuracy, the angle mode  for trigono-
  1416.         metrical functions and the number of derivations  can be determined
  1417.         independently for every function.
  1418.  
  1419.         ┌──────  scaling ──────┐┌── accuracy ──┐┌─ angle ─┐┌─ derivations─┐
  1420.         │ 0 : x and y linear   ││ 0 : raw      ││ 0 : RAD ││ 0 : only f   │
  1421.         │ 1 : x linear, y log. ││ 1 : medean   ││ 1 : DEG ││ 1 : f and f' │
  1422.         │ 2 : x log., y linear ││ 2 : fine     ││ 2 : GON ││ 2 : f, f',f" │
  1423.         │ 3 : x and y log.     ││ 3 : very f.  ││         ││   are plotted│
  1424.         └──────────────────────┘└──────────────┘└─────────┘└──────────────┘
  1425.  
  1426.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1427.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1428.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1429.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1430.         sec and csc (secans and cosecans).
  1431.  
  1432.         The text editor (F5)  allows the marking of the diagrams, e.g. with
  1433.         numbers of page and problem.
  1434. »43
  1435.  
  1436.         9.4 Function plotter 3
  1437.         ───────────────────────────────────────────────────────────────────
  1438.         A segmentwise defined function, determined by  partial function  f1
  1439.         to  f2, is plotted.
  1440.  
  1441. «44     Besides the signs + - * / ^ ( ) the function terms may also contain
  1442.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1443.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1444.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1445.         sec and csc (secans and cosecans).
  1446.  
  1447.         Domain of  definition,  interval  mode  and  color  are entered for
  1448.         every partial function.
  1449.  
  1450.         Interval
  1451.           0 : open on both sides
  1452.           1 : open on left side and closed on right side
  1453.           2 : closed on left side and open on right side
  1454.           3 : closed on both sides
  1455.  
  1456.         A decision on plotting the border elements or not is also possible.
  1457.         They are described as  discs  or  cubes,  depending on whether they
  1458.         belong to the domain of definition or not.
  1459. »44
  1460.         
  1461.  
  1462.  
  1463.                                  - 24 -
  1464.  
  1465.  
  1466.         9.5 Families of curves
  1467.         ───────────────────────────────────────────────────────────────────
  1468. «45     The program plots diagrams of any function containing a parameter k.
  1469.  
  1470.         The values for k can be listed or determined by initial value, final
  1471.         value and step. The distinction of individual curves is possible by
  1472.         means of color, line style, or both. Range, scaling, accuracy, angle
  1473.         mode and full or half screen will be determined on the next page.
  1474.  
  1475.         The curves can be  lettered  with the  parameters  by means of text
  1476.         editor (F5) before being printed out.
  1477.  
  1478.         Examples : overview of power functions
  1479.                    f(x,k) = x^k
  1480.                    k out of { 0, 1/2, -1/2, 1, -1, 2, -2 }
  1481.                    range  0 ≤ x ≤ 4 ,  0 ≤ y ≤ 4
  1482.  
  1483.                    Sine curves with different phase displacements.
  1484.                    f(x,k) = sin(x+k)
  1485.                    k from -2 tos 2 step 1
  1486.                    range  -7 ≤ x ≤ 7 ,  -2 ≤ y ≤ 2
  1487. »45
  1488.  
  1489.  
  1490.  
  1491.         9.6 Curve discussion
  1492.         ───────────────────────────────────────────────────────────────────
  1493. «46     The program can discuss any function.  This means:  The derivations
  1494.         are determined;  the function is investigated in  regard  of zeros,
  1495.         extrema  and  points of inflection  for  a  range  which  had  been
  1496.         determined beforehand; the diagrams of  f, f', and f"  are plotted;
  1497.         a table of values is issued.
  1498.  
  1499.             ┌──────────────────────────────────┐
  1500.             │ Input of function term           │
  1501.             │    ┌──────────────────────────────────┐
  1502.             │    │ Output of derivations            │
  1503.             │    │    ┌──────────────────────────────────┐
  1504.             │    │    │ Output of curve discussion       │
  1505.             └────│    │    ┌──────────────────────────────────┐
  1506.                  │    │    │ Input of coordinate system       │
  1507.                  └────│    │    ┌──────────────────────────────────┐
  1508.                       │    │    │ Output of diagram                │
  1509.                       └────│    │    ┌──────────────────────────────────┐
  1510.                            │    │    │ Output of table of values        │
  1511.                            └────│    │                                  │
  1512.                                 │    │                                  │
  1513.                                 └────│                                  │
  1514.                                      │                                  │
  1515.                                      └──────────────────────────────────┘
  1516.         
  1517.  
  1518.  
  1519.                                  - 25 -
  1520.  
  1521.  
  1522.         Page 1: Input of function term
  1523.         ────────────────────────────────────
  1524.         The function term is entered  together  with range  and accuracy of
  1525.         examination and angle mode.
  1526.  
  1527.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1528.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1529.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1530.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1531.         sec and csc (secans and cosecans).
  1532.  
  1533.         The range of examination is the interval, in  which the function is
  1534.         examined in regard of zeros, extrema  and  points of inflection. It
  1535.         must not be  too  large, as this  consequently  increases  the step
  1536.         investigating the function in regard of reversal of sign.
  1537.  
  1538.         If a low accuracy is selected (0:raw), the examination will proceed
  1539.         faster than in case of high accuracy. For functions with very quick
  1540.         reversal of sign, however, zeros might not be noticed.
  1541.  
  1542.  
  1543.         Page 2: Output of derivations
  1544.         ─────────────────────────────────
  1545.         The derivations f' and f'' of f are determined by means of symbolic
  1546.         calculus  according to the  usual  derivative  rules.  After this a
  1547.         number of  basic simplifications  are made.  Although it is easy to
  1548.         verify the first part of the algorithm, mistakes might easily creep
  1549.         into the second part.
  1550.  
  1551.         If you feel that a derivation is  not correct, it is recommended to
  1552.         enter  the  calculated  term  as  well  as  the term  you found out
  1553.         yourself, into  function  plotter 1 , and  to  have  the  two terms
  1554.         plotted  with  different colors.  Should the curves not coincide, I
  1555.         would appreciate an adequate notice.
  1556.  
  1557.  
  1558.  
  1559.         Page 3: Output of curve discussion
  1560.         ──────────────────────────────────────
  1561.         Zeros, local maxima, local minima  and  the points of inflection of
  1562.         the function in the investigated range are issued.
  1563.  
  1564.         Gaps in the domain of definition are not recognized by the program,
  1565.         simply because they often don't lie within the number domain or are
  1566.         skipped, due to the binary arithmetics. For this reason, extrema or
  1567.         points of inflection can be indicated there by mistake.
  1568.  
  1569.         What was told about the gaps in the domain of a definition  is also
  1570.         valid for the continuity  and  for the existance of a derivative of
  1571.         f, f' and f". Inevitably, the user  himself / herself  will have to
  1572.         make some effort.
  1573.  
  1574.  
  1575.         Page 4: Input of coordinate system
  1576.         ────────────────────────────────────────
  1577.         See section 5.6
  1578.         
  1579.  
  1580.  
  1581.                                  - 26 -
  1582.  
  1583.  
  1584.         Page 5: Output of diagram
  1585.         ─────────────────────────────────
  1586.         The diagram of function f (red continuous line), of  1st derivation
  1587.         f' (green dashed line)  and  of  2nd derivation  (blue dotted line)
  1588.         are issued. The points of inflection of function f are marked.
  1589.  
  1590.         If accuracy is selected too  high ( fine, very f.), the line styles
  1591.         in flat curve ranges cannot be differed any more.
  1592.  
  1593.  
  1594.         Page 6: Output of table of values
  1595.         ──────────────────────────────────
  1596.         Range and step of the  table of values  for  f, f'  and  f"  can be
  1597.         determined here.  The examination range  of the curve discussion is
  1598.         given.  Places,  where  one  of the  functions is  not defined, are
  1599.         marked by ---.
  1600.  
  1601.         Example : f(x)=4/x-4/x^2
  1602.                   examination range from -10 to 10
  1603.                   examination accuracy  1
  1604.  
  1605.                   derivations :  f'(x) = -4/x^2+8/x^3
  1606.                                  f"(x) = 8/x^3-24/x^4
  1607.  
  1608.                  ┌───────────────────┬───────────────┬────────────────────┐
  1609.                  │ zeros:         f' │ extrema:      │ inflexions:     f' │
  1610.                  ├───────────────────┼───────────────┼────────────────────┤
  1611.                  │ N(1/0)          4 │ H(2/1)        │ W(3/0.8889) -0.148 │
  1612.                  │                   │               │                    │
  1613.                  │                   │               │                    │
  1614.                  │                   │               │                    │
  1615.                  └───────────────────┴───────────────┴────────────────────┘
  1616.  
  1617.  
  1618.                  range :  -10 ≤ x ≤ 10  and  -2 ≤ y ≤ 2
  1619.  
  1620.                  table of values from -10 to 10 step 2.5
  1621.                  ┌───────────┬──────────────┬──────────────┬──────────────┐
  1622.                  │     x     │     f(x)     │     f'(x)    │     f"(x)    │
  1623.                  ├───────────┼──────────────┼──────────────┼──────────────┤
  1624.                  │  -10      │   -0.44      │   -0.048     │   -0.0104    │
  1625.                  │   -7.5    │   -0.604444  │   -0.090074  │   -0.026548  │
  1626.                  │   -5      │   -0.96      │   -0.224     │   -0.1024    │
  1627.                  │   -2.5    │   -2.24      │   -1.152     │   -1.1264    │
  1628.                  │    0      │     ---      │      ---     │      ---     │
  1629.                  │    2.5    │    0.96      │   -0.128     │   -0.1024    │
  1630.                  │    5      │    0.64      │   -0.096     │    0.0256    │
  1631.                  │    7.5    │    0.462222  │   -0.052148  │    0.0113778 │
  1632.                  │   10      │    0.36      │   -0.032     │    0.0056    │
  1633.                  └───────────┴──────────────┴──────────────┴──────────────┘
  1634. »46     
  1635.  
  1636.  
  1637.                                    - 27 -
  1638.  
  1639.  
  1640.         9.7 Newton-Iteration
  1641.         ───────────────────────────────────────────────────────────────────
  1642.  
  1643. «47     Newton-Iteration is an approximation method  for the calculation of
  1644.         a zero of f(x). If an initial value  x0  is entered, which is close
  1645.         enough to the desired zero,  then the next approximation calculated
  1646.         is the intersection of tangent to graph of  f in point P(x0/f(x0)).
  1647.         This leads to the recursion formula
  1648.  
  1649.                                        f(x(n))
  1650.                       x(n+1) = x(n) - ─────────
  1651.                                        f'(x(n))
  1652.  
  1653.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1654.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1655.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1656.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1657.         sec and csc (secans and cosecans).
  1658.  
  1659.         The procedure converges, if  f(x0) ∙ f"(x0) > 0
  1660.  
  1661.         Example : f(x) = x-cos(x)      x(0) = 1
  1662.                                        x(1) = .75036387
  1663.                                        x(2) = .73911289
  1664.                                        x(3) = .73908513
  1665.                                        x(4) = .73908513
  1666. »47
  1667.         9.8 Integral calculus
  1668.         ───────────────────────────────────────────────────────────────────
  1669.  
  1670. «48     The oriented  and  the  absolute content  of  the area  between two
  1671.         function curves in a  desired interval, i.e. the two integrals, are
  1672.         calculated
  1673.                     b                             b
  1674.                     ⌠                             ⌠
  1675.                A1 = │(f1(x)-f2(x))dx   and   A2 = │ │f1(x)-f2(x)│dx
  1676.                     ⌡                             ⌡
  1677.                     a                             a
  1678.  
  1679.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1680.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1681.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1682.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1683.         sec and csc (secans and cosecans).
  1684.  
  1685.         Also are determined:
  1686.           the twisting moments for rotation around x-, respectively y-axis,
  1687.           the bodies of revolution covered, and
  1688.           the centroid of the area
  1689.  
  1690.         Example :  f1(x)=4-x^2 ,  f2(x)=(x-1)^2
  1691.                    interval from  0  to  1.5
  1692.  
  1693.                    oriented and absolute content   A1 = A2 = 4.5
  1694.                    twisting moments      Mx=8.1563    My=3.0938
  1695.                    bodies of revolution  Vx=51.247    Vy=19.439
  1696.                    centroid              S(0.6875/1.8125)
  1697. »48     
  1698.  
  1699.  
  1700.                                     - 28 -
  1701.  
  1702.  
  1703.         9.9 Parameter curves
  1704.         ───────────────────────────────────────────────────────────────────
  1705. «49     Curves, which are not determined by an  explicit function term, but
  1706.         by two functions for the horizontal  and vertical direction, can be
  1707.         plotted with this program.
  1708.  
  1709.         On the first page, the two function terms and the range to be
  1710.         covered by the parameter, are entered.
  1711.  
  1712.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1713.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1714.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1715.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1716.         sec and csc (secans and cosecans).
  1717.  
  1718.         On the  second page, range, scaling, accuracy, angle mode  and full
  1719.         or half screen are determined. For the minimum accuracy, 100 points
  1720.         of the curve are calculated. Every increase of accuracy will double
  1721.         the amount of points.
  1722.  
  1723.         Examples :
  1724.  
  1725.         1. The circle    x(k)=sin(k), y(k)=cos(k),  k from -Pi to Pi
  1726.                          range  -2 ≤ x ≤ 2 ,  -2 ≤ y ≤ 2
  1727.  
  1728.         2. The spiral    x(k)=k*sin(k), y(k)=k*cos(k),  k from 0 to 20
  1729.                          range  -20 ≤ x ≤ 20 ,  -20 ≤ y ≤ 20
  1730.  
  1731.         3. The Lissajous figures obtained when two a-c voltages with
  1732.            different frequencies  are  applied  to one oscilloscope:
  1733.            x(k)=sin(3*k), y(k)=cos(5*k), k from -Pi to Pi
  1734.            range  -2 ≤ x ≤ 2 ,  -2 ≤ y ≤ 2
  1735. »49
  1736.  
  1737.         9.10 Series Expansion
  1738.         ───────────────────────────────────────────────────────────────────
  1739. «4A     Plotter for functions given as a series  Σ f(x, k).  The expansions
  1740.         in a series can be compared with  different  parameter  ranges. For
  1741.         easier distinction, they can be displaced in y-direction.
  1742.  
  1743.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1744.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1745.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1746.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1747.         sec and csc (secans and cosecans).
  1748.  
  1749.         For k and positive integer terms of k you may use the function
  1750.         fac(k) to calculate the factorial.
  1751.  
  1752.         Example : f(x,k) = x^(2*k-1)/fac(2*k-1)*(-1)^(k+1)
  1753.                   k from 1 to 16
  1754.  
  1755.                   To calculate the first  16 terms of the  taylor expansion
  1756.                   of the the sine curve.
  1757. »4A     
  1758.  
  1759.  
  1760.                                     - 29 -
  1761.  
  1762.  
  1763.         9.11 Area functions
  1764.         ───────────────────────────────────────────────────────────────────
  1765. «4B     An  area function  f(x, y)  is plotted, i.e. the  three-dimensional
  1766.         diagram of a function  with  two variables. In many area functions,
  1767.         terms are used several times;  therefore it is possible to define a
  1768.         term u(x, y) separately  and to use it as a u in the function term.
  1769.  
  1770.         Besides the signs + - * / ^ ( ) the function terms may also contain
  1771.         the functions sqr (√x), abs (│x│), int, sgn, exp (e^x), ln, lg, ld,
  1772.         sin, cos, tan, cot, asin, acos, atn ( arcus sinus, arcus cos, arcus
  1773.         tangens ),  sh, ch, th  ( hyperbolic sinus, cosinus  and tangens ),
  1774.         sec and csc (secans and cosecans).
  1775.  
  1776.         The area is  described  as an  adjustable amount of plane sections.
  1777.         The amount of points per line is determined by the selection of the
  1778.         accuracy.
  1779.  
  1780.         Moreover, the angle mode  for the trigonometrical functions and the
  1781.         display as full or half screen (Zoom) is determined.
  1782.  
  1783.         Hidden lines are not plotted, and those parts of the area which are
  1784.         seen from below are described in another color ( only  EGA  and VGA
  1785.         with color monitor).
  1786.  
  1787.         Examples :  a)   f(x,y) = sin(u)/u
  1788.                          u(x,y) = sqr(x*x+y*y)
  1789.                          -10 ≤ x ≤ 10 ,  -10 ≤ y ≤ 10 ,  0 ≤ z ≤ 1
  1790.  
  1791.                     b)   f(x,y) = cos(u)*(cos(u)+1)
  1792.                          u(x,y) = sqr(x*x+y*y)
  1793.                          -10 ≤ x ≤ 10 ,  -10 ≤ y ≤ 10 ,  1 ≤ z ≤ 5
  1794.  
  1795.                     c)   f(x,y) = u*cos(y/u)
  1796.                          u(x,y) = 1/(1+x*x/10)
  1797.                          0 ≤ x ≤ 6 ,  0 ≤ y ≤ 10 ,  0.5 ≤ z ≤ 2
  1798.  
  1799.                     d)   f(x,y) = abs(cos(x))+abs(cos(y))
  1800.                          -5 ≤ x ≤ 5 ,  -5 ≤ y ≤ 5 ,  1 ≤ z ≤ 3
  1801.  
  1802.                     e)   f(x,y) = (abs(x)+abs(y))/u
  1803.                          u(x,y) = sqr(x*x+y*y)
  1804.                          -10 ≤ x ≤ 10 ,  -10 ≤ y ≤ 10 ,  1 ≤ z ≤ 2
  1805. »4B     
  1806.  
  1807.  
  1808.                                    - 30 -
  1809.  
  1810.  
  1811.         ┌─────────────────────────────────────────────────────────────────┐
  1812.         │         1 0 .   T H E   M E N U   S T O C H A S T I C S         │
  1813.         └─────────────────────────────────────────────────────────────────┘
  1814.  
  1815.  
  1816.         10.1 Statistics
  1817.         ───────────────────────────────────────────────────────────────────
  1818. «51     Mean ( arithmetic mean ), median, variance  and  standard deviation
  1819.         are determined for a  prime notation. In addition, the distribution
  1820.         is presented as a histogram.
  1821.  
  1822.         The prime notation can be read from a file;  it can also be entered
  1823.         in one to four input pages with  64 values each in the program. The
  1824.         inputs can also be saved in a file.  Here,  all values of the prime
  1825.         notation are written to the file in  ASCII-format, whereas function
  1826.         F4 'Save data in a file' will save only one input page and apply an
  1827.         internal format.
  1828.  
  1829.         Mean     x = 1/n ∙ Σ x(i)
  1830.  
  1831.         Medean   is the value in the centre of the assorted prime notation;
  1832.                  if the amount of values is even, then it is the mean value
  1833.                  of the two central values.
  1834.                                            _                       _
  1835.         Variance     σ² = 1/(n-1)∙Σ(x(i) - x)   v.v.  1/n∙Σ(x(i) - x)
  1836.  
  1837.         Standard deviation  σ = √σ²
  1838. »51
  1839.  
  1840.  
  1841.         10.2 Regression
  1842.         ───────────────────────────────────────────────────────────────────
  1843.         With this routine it is possible to execute a fitting of curves for
  1844.         a series of measurements with a maximum of 192 pairs of values. The
  1845.         pairs of values can be read in from a file;  it can also be entered
  1846.         in one to four input pages in the program.  The inputs can be saved
  1847.         in a file; one pair of values, separated  by a comma, is written to
  1848.         each line of the file.
  1849.  
  1850.         You may choose between the following  types  of regression  and may
  1851.         displace or stretch all points in  x- or y-direction, if necessary.
  1852.  
  1853.           0 :  Proportional regression        y = b∙x
  1854.  
  1855.           1 :  Linear regression              y = a + b∙x
  1856.  
  1857.         2..9:  Polynom regression n-ter order y = a(0) + ... + a(n)∙x^n
  1858.  
  1859.          10 :  Geometrical regression         y = a∙x^b
  1860.  
  1861.          11 :  Exponential regression         y = a∙b^x
  1862.  
  1863.          12 :  Logarithmic regression         y = a + b∙ln(x)
  1864.         
  1865.  
  1866.  
  1867.                                    - 31 -
  1868.  
  1869.  
  1870. «52     Range, scaling, accuracy, angle mode  and  full or half screen  are
  1871.         determined for the diagram  after selection  of the type of regres-
  1872.         sion.  The range is  determined in a way  that the given points are
  1873.         plotted.  However, it can be  modified at will, to enable a preview
  1874.         to different ranges.
  1875.  
  1876.         The function term of the  approximation  curve,  the coefficient of
  1877.         determination, the correlation coefficient  and the standard devia-
  1878.         tion are issued together with the diagram.  On the next page, these
  1879.         values are issued once more, together with a table of values of the
  1880.         function.
  1881.  
  1882.         The function term of the approximation curve is filed automatically
  1883.         in register R9. Except for the polynom regression, additionally the
  1884.         function term  of the inverse function is written to register  R10.
  1885.         This allows the curve discussion of the results, or the calculation
  1886.         of the areas below the curves.  However,  you should  bear in mind,
  1887.         that the  coefficients  are  integrated  into  the calculation with
  1888.         eight-figure  exactness  only, so that  further-on  calculation can
  1889.         soundly propagate rounding errors.
  1890.  
  1891.         The following formula are used for linear regression. In case of
  1892.         geometrical regression, x and y have to be substituted by ln x and
  1893.         ln y. In case of exponential regression only y, and in case of
  1894.         logarithmic regression only x has to be substituted.
  1895.  
  1896.         b = (n∙Σxy - Σx∙Σy)/(n∙Σx² - Σx∙Σx)     ,     a = (Σy - b∙Σx)/n
  1897.  
  1898.         Coeff. of determiantion    r² =  h1/h2
  1899.         Coeff. of correlation      r  =  √r²
  1900.         Variance                   σ² =  (h2 - h1)/(n-2)
  1901.         Standard deviation         σ  =  √σ²
  1902.  
  1903.         with   h1 = b∙(Σxy - 1/n ∙Σx∙Σy)   and   h2 = Σy² - 1/n ∙Σy∙Σy
  1904.  
  1905.         Example :      x │    0    3   -1    1
  1906.                        ──┼─────────────────────────────────────
  1907.                        y │    4   10    6    7
  1908.  
  1909.         ┌────────────────────────────────┬────────────────────────────────┐
  1910.         │ Regression type : 1            │  Regression type : 3           │
  1911.         ├────────────────────────────────┼────────────────────────────────┤
  1912.         │ Linear regression :            │     Polynom regression :       │
  1913.         │                                │                                │
  1914.         │ y = 1.228571∙x + 5.828571      │     y = 4 + 1.25∙x + 2.5∙x^2   │
  1915.         │                                │         - 0.75∙x^3             │
  1916.         │                                │                                │
  1917.         │ Coeff.of determin.: 0.70438    │     Coeff.of determin.: 1      │
  1918.         │ Coeff.of correl. .: 0.83927    │     Coeff.of.correl.  : 1      │
  1919.         │ Standard deviation: 1.66476    │     Standard deviation: 0      │
  1920.         └────────────────────────────────┴────────────────────────────────┘
  1921.  
  1922.         The geometrical regression and the logarithmic regression cannot be
  1923.         executed with these data, as the third pair has a negative x-value.
  1924. »52     
  1925.  
  1926.  
  1927.                                    - 32 -
  1928.  
  1929.  
  1930.         10.3 Combinatorial analysis
  1931.         ───────────────────────────────────────────────────────────────────
  1932. «53     The amounts of possibilities  to select  k  out of  n  elements are
  1933.         calculated, setting value  on sequence or not ( i.e. arrangement or
  1934.         combination), and permitting repetitions or not.
  1935.  
  1936.         Example :   n = 49,  k = 6
  1937.  
  1938.         Arrangements without repetitions  =   10 068 347 520
  1939.         Arrangements with repetitions     =   13 841 287 201
  1940.         Combinations without repetitions  =       13 983 816
  1941.         Combinations with repetitions     =       25 827 165
  1942.  
  1943.         Permutations of k :            k! =              720
  1944. »53
  1945.  
  1946.  
  1947.         10.4 Binomial Distribution
  1948.         ───────────────────────────────────────────────────────────────────
  1949.         For a b(k;n;p) distributed random variable  X  with fixed  n  and p
  1950.         you can calculate
  1951.  
  1952.         - a histogram of the probabilities P( X = k )
  1953.         - a table of their values from k-min to k-max
  1954.         - the probability P( k-min < X < k-max)
  1955.  
  1956. «54     Theory: n balls are drawn with replacement  out of a container with
  1957.                 a portion p of red balls. The random variable  X stands for
  1958.                 the amount of red balls drawn.
  1959.                 The probability of  k  of the balls drawn being red, is
  1960.                 characterized by  P(X=k) = b(k;n;p).
  1961.  
  1962.         The values for  n and  p are entered, where p as probability has to
  1963.         lie between  0 and  1. After this, a simple histogram gives a first
  1964.         survey over the values of  P(X=k). The numeric values are issued in
  1965.         a table of values.
  1966.  
  1967.         Example :   n = 50    p = .3               P( X =    8 ) =  .010989
  1968.                                                    P( X =    9 ) =  .021978
  1969.                8  ▄▄                               P( X =   10 ) =  .038619
  1970.               10  ▄▄▄▄▄▄                           P( X =   11 ) =  .060185
  1971.               12  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄                   P( X =   12 ) =  .083830
  1972.               14  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄              P( X =   13 ) =  .105017
  1973.               16  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄              P( X =   14 ) =  .118948
  1974.               18  ▄▄▄▄▄▄▄▄▄▄▄▄▄                    P( X =   15 ) =  .122347
  1975.               20  ▄▄▄▄▄▄                           P( X =   16 ) =  .114700
  1976.               22  ▄▄                               P( X =   17 ) =  .098314
  1977.               24  ▄                                P( X =   18 ) =  .077247
  1978.                                                    P( X =   19 ) =  .055757
  1979.                                                    P( X =   20 ) =  .037039
  1980.                                                    P( X =   21 ) =  .022677
  1981.                                                    P( X =   22 ) =  .012811
  1982.                                                    P( X =   23 ) =  .006684
  1983.                                                    P( X =   24 ) =  .003223
  1984.  
  1985.                                             P(   8  ≤ X ≤   24 ) =  .990366
  1986. »54     
  1987.  
  1988.  
  1989.                                    - 33 -
  1990.  
  1991.  
  1992.         10.5 Hypergeometric distribution
  1993.         ───────────────────────────────────────────────────────────────────
  1994.         For a  h(k;n;m;r) distributed  random variable  X  with fixed  n, m
  1995.         and  r  you can calculate a histogram and a table of values for the
  1996.         probabilities P( X = k ).
  1997.  
  1998. «55     This routine is  especially useful,  because  hardly any tables for
  1999.         hypergeometric distribution exist  due to the four input variables,
  2000.         and the  calculation  of  probabilities  requires  a  great deal of
  2001.         expenditure.
  2002.  
  2003.         Theory: A container is filled with  m  balls,  r  of which are red.
  2004.                 If  n  balls are drawn without replacement, then the random
  2005.                 variable  X  tells, how many red balls were drawn.
  2006.                 The probability of  k  of the balls drawn being red, is
  2007.                 characterized by P(X=k) = h(k,n,m,r).
  2008.  
  2009.         The amount of balls drawn  n, the total amount  m and the amount of
  2010.         red balls  r  are entered.  As the  drawing  proceeds  without dis-
  2011.         carding, verify that n<m, and also r<m.
  2012. »55
  2013.  
  2014.         10.6 Normal distribution
  2015.         ───────────────────────────────────────────────────────────────────
  2016.         For a  N(µ,σ²)  distributed random variable  X  with given expected
  2017.         value  µ  and variance  σ²,  you can calculate
  2018.  
  2019.                                         1       -u(x)²/2              x - µ
  2020.          - density function   f(x) = ─────── ∙ e          with u(x) = ─────
  2021.                                      σ∙√(2π)                            σ
  2022.                                                x
  2023.                                                ⌠
  2024.          - and distribution function    Φ(x) = │ f(t) dt
  2025.                                                ⌡
  2026.                                               -∞
  2027.  
  2028. «56     The diagram of the density function  f(x)  is often called Gaussian
  2029.         curve,  or  bellshaped curve.  The  distribution function  Φ(x)  is
  2030.         designated as Gaussian error function, because, according to Gauss,
  2031.         this distribution is assumed  for the random errors in astronomical
  2032.         observations.
  2033.  
  2034.         Expected value µ and variance  σ² are entered. For µ=0 and σ=1, you
  2035.         will receive the standardized normal distribution.
  2036.  
  2037.         Subsequently, range, scaling, accuracy, angle mode  and full screen
  2038.         or half screen are determined for the graphical construction.
  2039.         The diagrams of f(x) and Φ(x) are plotted, and their function terms
  2040.         are filed in the registers R9 and R10.
  2041.         In program section 'integral calculus' it is now possible to calcu-
  2042.         late the areas below the  bellshaped curves  and to solve  problems
  2043.         like P(x1< X <x2).
  2044.  
  2045.         Finally, a table  of  values  for  f(x)  and  Φ(x)  is issued  with
  2046.         optional steps.
  2047. »56     
  2048.  
  2049.  
  2050.                                    - 34 -
  2051.  
  2052.  
  2053.         ┌─────────────────────────────────────────────────────────────────┐
  2054.         │      11 .  T H E   M E N U   L I N E A R   A L G E B R A        │
  2055.         └─────────────────────────────────────────────────────────────────┘
  2056.  
  2057.  
  2058.  
  2059.         11.1 Systems of linear Equations
  2060.         ───────────────────────────────────────────────────────────────────
  2061. «61     The program  determines the  solution vector of a  system of linear
  2062.         equations  ( SLE ) with  n  equations and  n  variables ( n ≤ 10 ).
  2063.  
  2064.         First enter then  number of equations  and then the coefficients of
  2065.         the system. The system must be transformed to :
  2066.                 ┌                                          ┐
  2067.                 │  a(1,1)∙x(1) + ... + a(1,n)∙x(n) = b(1)  │
  2068.                 │     :              :     :               │
  2069.                 │  a(n,1)∙x(1) + ... + a(n,n)∙x(n) = b(n)  │
  2070.  
  2071.  
  2072.         Example: If you are looking for a  parabola through  P(1/3), Q(2/1)
  2073.                  and R(4/9) you have to solve the following system of equ.
  2074.  
  2075.                   1∙x(1) + 1∙x(2) + 1∙x(3) = 3     The solution vector is
  2076.                   4∙x(1) + 2∙x(2) + 1∙x(3) = 1
  2077.                  16∙x(1) + 4∙x(2) + 1∙x(3) = 9          ( 2, -8, 9 )
  2078.  
  2079.                  Thus the parabola is discribed by   y = 2x^2 - 8x + 9.
  2080. »61
  2081.  
  2082.  
  2083.         11.2 Linear Combination
  2084.         ───────────────────────────────────────────────────────────────────
  2085. «62     The program  determines  the linear combination  of a vector out of
  2086.         three given vectors.  An  error message  will be displayed if these
  2087.         vectors are linearly dependent.
  2088.  
  2089.         With this routine you may  proof the  linear independence  of three
  2090.         vectors what means to proof if they are situated in a plane.
  2091.  
  2092.         Example 1 :      ┌   ┐     ┌   ┐     ┌   ┐     ┌   ┐
  2093.                          │ 1 │     │ 2 │     │ 0 │     │ 2 │
  2094.                        a∙│ 2 │ + b∙│ 1 │ + c∙│ 1 │  =  │ 3 │
  2095.                          │ 0 │     │ 1 │     │ 0 │     │ 7 │
  2096.                          └   ┘     └   ┘     └   ┘     └   ┘
  2097.                        Result :  a = -12 ,  b = 7 ,  c = 20
  2098.  
  2099.         Example 2 :      ┌   ┐     ┌   ┐     ┌   ┐     ┌   ┐
  2100.                          │ 1 │     │ 2 │     │ 1 │     │ 2 │
  2101.                        a∙│ 2 │ + b∙│ 1 │ + c∙│ 5 │  =  │ 3 │
  2102.                          │ 0 │     │ 1 │     │-1 │     │ 7 │
  2103.                          └   ┘     └   ┘     └   ┘     └   ┘
  2104.                        Result :  The vectors are linearly dependent
  2105. »62     
  2106.  
  2107.  
  2108.                                    - 35 -
  2109.  
  2110.  
  2111.         11.3 Scalar Product
  2112.         ───────────────────────────────────────────────────────────────────
  2113. «63     Given two vectors the scalar product, the length of the two vectors
  2114.         and the included angle will be calculated.
  2115.                          ┌     ┐         ┌     ┐
  2116.         Example :    ->  │  1  │     ->  │  5  │
  2117.                      a = │  3  │     b = │  0  │
  2118.                          │  1  │         │  3  │
  2119.                          └     ┘         └     ┘
  2120.                      Scalar product of the vec.  = 8
  2121.                      Length of the first vector  = 3.32
  2122.                      Length of the second vector = 5.83
  2123.                      included angle  ß           = 65.56°
  2124. »63
  2125.  
  2126.  
  2127.         11.4 Vector product
  2128.         ───────────────────────────────────────────────────────────────────
  2129. «64     Given two vectors the vector product and its magnitude will be cal-
  2130.         culated. The vector product is a vector orthogonal to the  paralle-
  2131.         logram which is put up by the given vectors. Its magnitude is equal
  2132.         to the area of the parallelogram.
  2133.                          ┌     ┐         ┌     ┐
  2134.         Example :    ->  │  1  │     ->  │  7  │
  2135.                      a = │  2  │     b = │  1  │
  2136.                          │  3  │         │  4  │
  2137.                          └     ┘         └     ┘
  2138.                          ┌     ┐
  2139.                  ->  ->  │  5  │       ->  ->
  2140.                  a x b = │ 17  │     │ a x b │ = 21.98
  2141.                          │-13  │
  2142.                          └     ┘
  2143. »64
  2144.  
  2145.  
  2146.         11.5 Triple Product
  2147.         ───────────────────────────────────────────────────────────────────
  2148. «65     Given three vectors the program  will calculate the triple product.
  2149.         Its magnitude is equal to the volume of the parallelepipedon  which
  2150.         is put up by the three vectors.
  2151.  
  2152.         Linear dependent vectors has zero as triple product.
  2153.                          ┌     ┐         ┌     ┐         ┌     ┐
  2154.         Example :    ->  │  2  │     ->  │  2  │     ->  │  3  │
  2155.                      a = │  3  │     b = │ -1  │     c = │  9  │
  2156.                          │  5  │         │  7  │         │  2  │
  2157.                          └     ┘         └     ┘         └     ┘
  2158.  
  2159.                        ->  ->    ->
  2160.                      ( a x b ) ∙ c  =  26
  2161. »65
  2162.  
  2163.  
  2164.         
  2165.  
  2166.  
  2167.                                    - 36 -
  2168.  
  2169.  
  2170.         11.6 Matrix Inversion
  2171.         ───────────────────────────────────────────────────────────────────
  2172. «66     Given a square matrix the program will calculate the inverse matrix
  2173.         as well as the order, the rank and the determinant of the matrix.
  2174.  
  2175.         Example :  Order of the matrices = 3
  2176.                    ┌             ┐                 ┌                  ┐
  2177.                    │  0   1   1  │                 │ 0.25  -0.25  0.5 │
  2178.                    │  0   1   3  │  is inverse to  │  1.5  -0.5    0  │
  2179.                    │  2   0   1  │                 │ -0.5   0.5    0  │
  2180.                    └             ┘                 └                  ┘
  2181. »66
  2182.  
  2183.         11.7 Matrix Multiplication
  2184.         ───────────────────────────────────────────────────────────────────
  2185. «67     Given two square matrices of same order  the product matrix will be
  2186.         calculated. Non-square matrices must be completed with zeros.
  2187.  
  2188.         Example :  Order of the matrices = 4
  2189.  
  2190.                    1. Matrix :                  2. Matrix :
  2191.                    ┌                     ┐      ┌                   ┐
  2192.                    │   1   2   3  :  0   │      │   1   2   3   4   │
  2193.                    │   4   5   6  :  0   │      │   5   6   7   8   │
  2194.                    │  . . . . . . . . .  │      │   9  10  11  12   │
  2195.                    │   0   0   0  :  0   │      │  . . . . . . . .  │
  2196.                    │   0   0   0  :  0   │      │   0   0   0   0   │
  2197.                    └                     ┘      └                   ┘
  2198.  
  2199.                    Product matrix :
  2200.                    ┌                   ┐
  2201.                    │  38  44  50  56   │
  2202.                    │  83  98  113 128  │
  2203.                    │  . . . . . . . .  │
  2204.                    │   0   0   0   0   │
  2205.                    │   0   0   0   0   │
  2206.                    └                   ┘
  2207. »67
  2208.         
  2209.  
  2210.  
  2211.                                    - 37 -
  2212.  
  2213.  
  2214.         ┌─────────────────────────────────────────────────────────────────┐
  2215.         │           12 .  A P P E N D I X   A :  S Y N T A X              │
  2216.         └─────────────────────────────────────────────────────────────────┘
  2217.  
  2218.         12.1 Notation of numbers
  2219.         ───────────────────────────────────────────────────────────────────
  2220.         Fixpoint notation with decimal point: 1000.5 for 'thousand point 5'
  2221.         Floating point notation             : 1.2e3  for  1.2∙10^3
  2222.         π ≈ 3.1415926535898  may be entered as  pi .
  2223.  
  2224.  
  2225.         12.2 Arithmetic signs
  2226.         ───────────────────────────────────────────────────────────────────
  2227.         +  Addition              *  Multiplication        ^  Raise to power
  2228.         -  Subtraction           /  Division            ( )  Brackets
  2229.  
  2230.         The  multiplication sign  *  may never be omitted.  The usual rules
  2231.         of hierarchy are valid.  Fractions must be written in one line. The
  2232.         numerator and denominator are bound by parenthesis if necessary.
  2233.  
  2234.                  5x - 3
  2235.         f(x) = ───────────      notified as     f(x) = (5*x-3)/(2*x+4)
  2236.                  2x + 4
  2237.  
  2238.         f(x) = 3x² - 5x + 1     notified as     f(x) = 3*x^2-5*x+1
  2239.  
  2240.  
  2241.  
  2242.         12.3 Functions
  2243.         ───────────────────────────────────────────────────────────────────
  2244.  
  2245.         sqr(x)  for the square root function √x
  2246.  
  2247.         abs(x)  for the absolute value │x│
  2248.  
  2249.         int(x)  for the Gaussian parenthesis [x]
  2250.  
  2251.         sgn(x)  for the signe function ( -1 for x<0, 0 for x=0, 1 for x>0 )
  2252.  
  2253.         exp(x)  for the natural exponential function  e^x
  2254.  
  2255.         ln(x),  lg(x),  ld(x)   logarithms to base e, 10 and 2
  2256.  
  2257.         sin(x), cos(x), tan(x), cot(x)   always with paranthesis !!!
  2258.  
  2259.         asin(x), acos(x), atn(x)   the arcus functions of sin, cos and tan
  2260.  
  2261.         sh(x), ch(x), th(x) the hyperbolical sine, cosine and tangens
  2262.  
  2263.         sec(x) = 1/cos(x), csc(x) = 1/sin(x)   secans and cosecans
  2264.  
  2265.         fac(n) = 1∙2∙ ... ∙n     the factorial of a natural number n
  2266.  
  2267.         norm(x)   the distribution function of the standard normal distrib.
  2268.  
  2269.  
  2270.  
  2271.                                    - 38 -
  2272.  
  2273.  
  2274.         ┌─────────────────────────────────────────────────────────────────┐
  2275.         │        13 .  A P P E N D I X   B :   S U P P L E M E N T S      │
  2276.         └─────────────────────────────────────────────────────────────────┘
  2277.  
  2278.  
  2279.         To save space and  clearness  some features have not been discribed
  2280.         until now.
  2281.  
  2282.  
  2283.         13.1 The Parameter P
  2284.         ───────────────────────────────────────────────────────────────────
  2285.         In addition to the parameters
  2286.  
  2287.               MATHASS \[path]\          directiory of MATHASS-files
  2288.               MATHASS \[Graphicmode]\   VGA, EGA, HERCULES oder CGA
  2289.               MATHASS MONO              for monochrome monitors
  2290.               MATHASS INVERS            for snapshot routines
  2291.  
  2292.         you may tell MATHASS which part of the program should be called
  2293.         first. To do this start the MATHASS with
  2294.  
  2295.               MATHASS P [number of menu] [number of subdivision]
  2296.  
  2297.         Example: MATHASS P42  leads directly to the function plotter 1 ,
  2298.                  MATHASS P2A  to the RPN calculators ( A = hexadez. 10 ).
  2299.  
  2300.  
  2301.         13.2 The Control Cursor Keys
  2302.         ───────────────────────────────────────────────────────────────────
  2303.         In masks with many fields the following key combinations may be
  2304.         useful:
  2305.  
  2306.         Ctrl Home    to jump to the first field of the mask
  2307.                      even in the EDIT mode.
  2308.  
  2309.         Ctrl End     to jump to the last field of the mask
  2310.                      even in the EDIT mode.
  2311.  
  2312.         Ctrl Crs_Up  to jump to the first input line
  2313.         Ctrl Crs_Dn  to jump to the last  input line
  2314.                      Using an old keyboard driver these combinations may
  2315.                      not work.
  2316.  
  2317.         Ctrl PgDn    same as PgDn. Additionally the calculation time is
  2318.                                    displayed in lower right corner.
  2319.  
  2320.  
  2321.         13.3 Automatic Error Correction
  2322.         ───────────────────────────────────────────────────────────────────
  2323.         To make input of function terms saver missing  multiplication signs
  2324.         are completed if possible.
  2325.         Example:  4x^2-3x  is automatically completed to  4*x^2-3*x.
  2326.  
  2327.  
  2328.  
  2329.  
  2330.                                    - 39 -
  2331.  
  2332.  
  2333.         ┌─────────────────────────────────────────────────────────────────┐
  2334.         │       14 .  A P P E N D I X   C :   F I L E   F O R M A T S     │
  2335.         └─────────────────────────────────────────────────────────────────┘
  2336.  
  2337.  
  2338.         The following files must be on your MATHASS-Disk:
  2339.  
  2340.         START  .BAT     gives first instructions and starts program
  2341.         MATHASS.EXE     the program MATHASS
  2342.         MATHASS.DOC     the manual to be printed with COPY MATHASS.DOC PRN
  2343.         MATHASS.HLP     used by help function
  2344.         MATHASS.PRN     contains the selected printer drivers
  2345.         MA     .PRM     contains the prime factors
  2346.         EPS_FX .DRV     printer driver for EPSON FX-80 and compatibles
  2347.         EPS_LQ .DRV     printer driver for EPSON LQ     "     "
  2348.         EPS_MX .DRV     printer driver for EPSON MX-80  "     "
  2349.         HP_DESK.DRV     printer driver for HP Deskjet   "     "
  2350.         NEC_P6 .DRV     printer driver for NEC P6       "     "
  2351.  
  2352.         The program itself writes files with the following extensions:
  2353.  
  2354.         *.DAT   opened by pressing  F3  to save your inputs.
  2355.                 They use an internal format and can only be read by MATHASS
  2356.                 using F4.
  2357.  
  2358.         *.SCR   opened by pressing  Shift F1, ...,  Shift F10  to save your
  2359.                 graphics in an internal format. They can later be re-loaded
  2360.                 with  Alt F1, ..., Alt F10  or the program point annotation
  2361.                 to add text.
  2362.  
  2363.         *.IMG   opened by pressing  F7  to save your graphics as  IMG file.
  2364.                 The files are successively called  MA1.IMG, MA2.IMG  etc.
  2365.  
  2366.         *.PCX   opened by pressing  F8  to save your graphics as  PCX file.
  2367.                 The files are successively called  MA1.PCX, MA2.PCX  etc.
  2368.  
  2369.         *.TXT   opened by pressing F7 or F8 to save text screens as  ASCII.
  2370.                 The files are successively called  MA1.TXT, MA2.TXT  etc.
  2371.  
  2372.         *.ST    they hold the prime notation for doing statistics in ASCII.
  2373.                 Each line holds one number.
  2374.  
  2375.         *.RG    they hold the pairs of values for doing regression in ASCII.
  2376.                 Each line holds one pair of values seperated by semicolon.
  2377.  
  2378.         *.TMP   are temporary files which will be deleted after regular
  2379.                 termination of the program.
  2380.  
  2381.  
  2382.  
  2383.                                    - 40 -
  2384.  
  2385.  
  2386.         ┌─────────────────────────────────────────────────────────────────┐
  2387.         │    15 .  A P P E N D I X   D :  P R I N T E R   D R I V E R S   │
  2388.         └─────────────────────────────────────────────────────────────────┘
  2389.  
  2390.  
  2391.         The first line of each printer driver  defines the type of printer.
  2392.         0  stands for Laser printer,  9  for nine pins  dot matrix printers
  2393.         and  24  for twenty-four pins dot matrix printers.
  2394.         Five lines for  each  screen mode  ( VGA, EGA, HGC and CGA ) follow
  2395.         containing the  vertical  sacling  factor  and the  printer control
  2396.         sequences for initializing, for line spacing and for graphics mode.
  2397.         Non-printable characters are notified by their corresponding  ASCII
  2398.         code in brackets. ( i.e. [27] for ESC ).
  2399.  
  2400.  
  2401.         13.1 HP_DESK.DRV
  2402.         ───────────────────────────────────────────────────────────────────
  2403.         0                    printer type ( 0 for Laser )
  2404.  
  2405.         VGA:
  2406.         1                    vertical scaling factor   :  1   ( ≥ 1 )
  2407.         [27]E[27]&l0C        intialize printer         :  ESC E
  2408.                              line spacing  0/48 Zoll   :  ESC & l 0 C
  2409.         [27]*t100R[27]*r0A   graphics mode 100 dpi     :  ESC * t 100 R
  2410.                              beginning at left border  :  ESC * r 0 A
  2411.         [27]*b               graphics line header      :  ESC * b <Bytes> W
  2412.                              Bytes and W are set by the program
  2413.         [27]*rB[27]&l6D      end of graphics           :  ESC
  2414.                              line spacing  6 lpi       :  ESC & l 6 D
  2415.  
  2416.         EGA:                   HGC                    CGA
  2417.         1.3                    1.5                    2.3
  2418.         [27]E[27]&l0C          [27]E[27]&l0C          [27]E[27]&l0C
  2419.         [27]*t100R[27]*r0A     [27]*t100R[27]*r0A     [27]*t100R[27]*r0A
  2420.         [27]*b                 [27]*b                 [27]*b
  2421.         [27]*rB[27]&l6D        [27]*rB[27]&l6D        [27]*rB[27]&l6D
  2422.  
  2423.  
  2424.         13.2 NEC_P6.DRV
  2425.         ───────────────────────────────────────────────────────────────────
  2426.         24                 printer type ( 24 pins dot matrix printer )
  2427.  
  2428.         VGA
  2429.         2                  vertical scaling factor :  2  (integer)
  2430.         [27]@              initialize printer      :  ESC @
  2431.         [27]3[23]          graphics line spacing   :  ESC 3 <23>
  2432.         [27]*[38]          graphics mode           :  ESC * <38>
  2433.         [27]2              reset line spacing      :  ESC 2
  2434.  
  2435.         EGA:                   HGC                    CGA
  2436.         3                      3                      4
  2437.         [27]@                  [27]@                  [27]@
  2438.         [27]3[22]              [27]3[24]              [27]3[27]
  2439.         [27]*[38]              [27]*[38]              [27]*[38]
  2440.         [27]2                  [27]2                  [27]2
  2441.  
  2442.         
  2443.  
  2444.  
  2445.                                    - 41 -
  2446.  
  2447.  
  2448.         13.3 EPS_MX.DRV
  2449.         ───────────────────────────────────────────────────────────────────
  2450.         9                  printer type ( 9 pins dot matrix printer )
  2451.  
  2452.         VGA:
  2453.         1                  vertical scaling factor :  1  (integer)
  2454.         [27]@              initialize printer      :  ESC @
  2455.         [27]3[24]          graphics line spacing   :  ESC 3 <24>
  2456.         [27]Y              graphics mode           :  ESC Y  ( bzw. L )
  2457.         [27]2              reset line spacing      :  ESC 2
  2458.  
  2459.         EGA:                   HGC                    CGA
  2460.         1                      1                      2
  2461.         [27]@                  [27]@                  [27]@
  2462.         [27]3[24]              [27]3[24]              [27]3[24]
  2463.         [27]Y                  [27]Y                  [27]Y
  2464.         [27]2                  [27]2                  [27]2
  2465.  
  2466.  
  2467.         13.4 EPS_FX.DRV
  2468.         ───────────────────────────────────────────────────────────────────
  2469.         9                  printer type ( 9 pins dot matrix printer )
  2470.  
  2471.         VGA:
  2472.         1                  vertical scaling factor :  1  (integer)
  2473.         [27]@              initialize printer      :  ESC @
  2474.         [27]3[21]          graphics line spacing   :  ESC 3 <21>
  2475.         [27]*[4]           graphics mode           :  ESC * <4>
  2476.         [27]2              reset line spacing      :  ESC 2
  2477.  
  2478.         EGA:                   HGC                    CGA
  2479.         1                      1                      1
  2480.         [27]@                  [27]@                  [27]@
  2481.         [27]3[24]              [27]3[24]              [27]3[24]
  2482.         [27]*[6]               [27]*[1]               [27]*[4]
  2483.         [27]2                  [27]2                  [27]2
  2484.  
  2485.  
  2486.         13.5 EPS_LQ.DRV
  2487.         ───────────────────────────────────────────────────────────────────
  2488.         24                 printer type ( 24 pins dot matrix printer )
  2489.  
  2490.         VGA:
  2491.         2                  vertical scaling factor :  2  (integer)
  2492.         [27]@              initialize printer      :  ESC @
  2493.         [27]3[22]          graphics line spacing   :  ESC 3 <22>
  2494.         [27]*[38]          graphics mode           :  ESC * <38>
  2495.         [27]2              reset line spacing      :  ESC 2
  2496.  
  2497.         EGA:                   HGC                    CGA
  2498.         3                      3                      4
  2499.         [27]@                  [27]@                  [27]@
  2500.         [27]3[21]              [27]3[22]              [27]3[25]
  2501.         [27]*[38]              [27]*[38]              [27]*[38]
  2502.         [27]2                  [27]2                  [27]2
  2503.  
  2504.         
  2505.  
  2506.  
  2507.                                    - 42 -
  2508.  
  2509.  
  2510.         ┌─────────────────────────────────────────────────────────────────┐
  2511.         │  16 .  A P P E N D I X   E :   H I N T S   A N D   T R I C K S  │
  2512.         └─────────────────────────────────────────────────────────────────┘
  2513.  
  2514.  
  2515.         The snapshot routines  do not support  VGA mode. If you have a  VGA
  2516.         card installed and want to use the snapshot routines you must start
  2517.         the program with  MATHEASS EGA  or use a  memory residend  snapshot
  2518.         program like VGA2GIF.
  2519.  
  2520.         If your printer works with  none  of the hardcopy routines  you can
  2521.         save snapshots  and use a  graphics program like  Graphics Workshop
  2522.         (GWS) from Alchemy Mindworks to do the printing.
  2523.  
  2524.         VGA2GIF  and  GWS  are shareware  and are available from every good
  2525.         shareware vendor.
  2526.  
  2527.         Some keyboard driver may use the exponentiation key ^  to enter the
  2528.         french characters â, ê, î, ô and û.  In that case you have to press
  2529.         space after  ^  to enter an exponentiation, especially when you are
  2530.         in the calculators.
  2531.  
  2532.         The function plotter accept not only  rational  but arbitrary func-
  2533.         tions.  Because of that there is no milky way to recognize gaps. To
  2534.         suppress the plotting over poles try a higher value for accuracy.
  2535.  
  2536.         Line styles 2, 3 and 4 are not discernible if you choose a to great
  2537.         value for accuracy  because the distance  between calculated points
  2538.         is sometimes less then the length of the dashes.
  2539.  
  2540.         Prime numbers are shown in the so named program point  only as many
  2541.         as fit to the screen. For longer lists use output to file PRIM.TXT.
  2542.         They will then be displayed for browse.
  2543.  
  2544.         In the program point mappings it may occur that the last coordinate
  2545.         pairs do not fit to the screen. In that case set the line styles of
  2546.         the preceding mappings to zero.
  2547.  
  2548.         Much effort was done to avoid input errors. Should nevertheless the
  2549.         program hang at any time you can quit with Ctrl Break. In that case
  2550.         type thereafter  MODE CO80  to reset the colors.
  2551.         
  2552.