home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / pmcalc.zip / PMCALC.DOC < prev    next >
Text File  |  1995-02-07  |  12KB  |  569 lines

  1.  
  2.  
  3.                                                                 Calc-v100-0
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.         ===================================================================
  35.         PMCalc
  36.         A Pocket Calculator
  37.         Version 1.00
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.         (C) Copyright IBM Corporation 1989, 1995
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.         (C) Copyright IBM Corporation 1989, 1995
  68.         
  69.         
  70.         
  71.         -------------------------------------------------------------------
  72.         Version 1.00, January 1995
  73.  
  74.         This program was written by:
  75.  
  76.         Tim Baldwin
  77.         
  78.         IBM UK Laboratories
  79.         Hursley Park
  80.         Winchester
  81.         Hampshire, SO21 2JN
  82.         
  83.         baldy@vnet.ibm.com
  84.  
  85.  
  86.         (C) Copyright IBM Corporation 1989, 1995.  All Rights Reserved.
  87.         -------------------------------------------------------------------
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.         
  128.                                                                     Page  i
  129.  
  130.         (C) Copyright IBM Corporation 1989, 1995
  131.         
  132.         
  133.         
  134.         CONTENTS
  135.  
  136.  
  137.           1.0 PMCalc - A Pocket Calculator  . . . . . . . . . . . . . . . 1
  138.           1.1 Introduction.   . . . . . . . . . . . . . . . . . . . . . . 1
  139.             1.1.1 Requirements  . . . . . . . . . . . . . . . . . . . . . 1
  140.           1.2 Using The Calculator  . . . . . . . . . . . . . . . . . . . 1
  141.             1.2.1 Calculator Functions  . . . . . . . . . . . . . . . . . 1
  142.             1.2.2 Degrees and Radians Mode  . . . . . . . . . . . . . . . 4
  143.             1.2.3 Error Conditions  . . . . . . . . . . . . . . . . . . . 4
  144.           1.3 The Display Font  . . . . . . . . . . . . . . . . . . . . . 4
  145.           1.4 Keyboard Usage  . . . . . . . . . . . . . . . . . . . . . . 5
  146.           1.5 The Clipboard   . . . . . . . . . . . . . . . . . . . . . . 5
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.         
  191.                                                                Contents  ii
  192.  
  193.         (C) Copyright IBM Corporation 1989, 1995
  194.         
  195.         
  196.         
  197.         1.0 PMCALC - A POCKET CALCULATOR
  198.  
  199.  
  200.  
  201.         1.1 INTRODUCTION.
  202.  
  203.         PMCalc is an OS/2 program that provides an accurate simulation of a
  204.         typical scientific pocket calculator.  It has the following
  205.         features:
  206.  
  207.         -  12 digit floating point display, capable of displaying numbers
  208.            in the range 1e-99 to 999999999999e99.
  209.  
  210.            Numbers in the range 0.001 to 999,999,999,999 are displayed in
  211.            standard floating point format, numbers outside this range are
  212.            displayed in scientific format.
  213.  
  214.         -  Standard arithmetic functions with correct precedence
  215.            (multiplication and division taking priority over addition and
  216.            subtraction).  Brackets may be used to alter this precedence.
  217.  
  218.         -  5 function memory, with value stored indicator.
  219.  
  220.         -  15 trigonometric, logarithmic and scientific functions.
  221.  
  222.            The trigonometric functions can operate in either degrees or
  223.            radians.
  224.  
  225.  
  226.  
  227.         1.1.1 REQUIREMENTS
  228.  
  229.         PMCalc runs under OS/2 2.0 or later.
  230.  
  231.  
  232.         1.2 USING THE CALCULATOR
  233.  
  234.         The calculator is operated just like a normal pocket calculator by
  235.         pressing the appropriate buttons.  Under OS/2 this is performed
  236.         either by clicking on the buttons with the mouse or using the
  237.         keyboard equivalents described in "1.4 Keyboard Usage" on page 5.
  238.  
  239.  
  240.         1.2.1 CALCULATOR FUNCTIONS
  241.  
  242.         The following functions are available:
  243.  
  244.         General Keys
  245.  
  246.         -  [0] to [9] and [.]
  247.  
  248.            Used to enter numbers.
  249.  
  250.  
  251.  
  252.  
  253.         
  254.                                             PMCalc - A Pocket Calculator  1
  255.  
  256.         (C) Copyright IBM Corporation 1989, 1995
  257.         
  258.         
  259.         
  260.         -  [+], [-], [x], [/] and [=]
  261.  
  262.            The basic arithmetic functions.
  263.  
  264.         -  [AC]
  265.  
  266.            ALL CLEAR will reset the calculator and clear everything except
  267.            the contents of the memory.
  268.  
  269.         -  [C]
  270.  
  271.            CLEAR will clear the current value only, without affecting the
  272.            rest of a calculation.
  273.  
  274.         -  [+/-]
  275.  
  276.            CHANGE SIGN changes the current value from positive to negative
  277.            or vice-versa.  If pressed after the [exp] function the sign of
  278.            the exponent will be changed.
  279.  
  280.         Memory Keys
  281.  
  282.         -  [Min] and [MR] and [x-M]
  283.  
  284.            MEMORY IN stores the current value in the memory replacing any
  285.            previous value.  MEMORY RECALL recalls the current memory
  286.            contents and makes it the current value.  MEMORY EXCHANGE
  287.            exchanges the current value with the contents of the memory.
  288.  
  289.            When a non-zero value is stored in the memory an "M"  will
  290.            appear on the display.
  291.  
  292.         -  [M+] and [M-]
  293.  
  294.            MEMORY PLUS adds the current value to the contents of the
  295.            memory.  MEMORY MINUS subtracts the current value from the
  296.            contents of the memory.
  297.  
  298.         Special Keys
  299.  
  300.         -  [exp]
  301.  
  302.            EXPONENT enables numbers to be entered in scientific format.
  303.            First enter the mantissa part then press [exp] and enter the
  304.            exponent part.
  305.  
  306.         -  [pi]
  307.  
  308.            PI enters the value of the constant pi.
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.         
  317.                                             PMCalc - A Pocket Calculator  2
  318.  
  319.         (C) Copyright IBM Corporation 1989, 1995
  320.         
  321.         
  322.         
  323.         -  [x-y]
  324.  
  325.            EXCHANGE X/Y exchanges the values of the two operands involved
  326.            in an arithmetic calculation.
  327.  
  328.         -  [[(..] and [..)]]
  329.  
  330.            OPEN BRACKET and CLOSE BRACKET are used to alter the precedence
  331.            of operations in arithmetic calculations.  Normally
  332.            multiplication and division take priority over addition and
  333.            subtraction.
  334.  
  335.         -  [Inv]
  336.  
  337.            INVERSE is used to select the inverse function for some of the
  338.            scientific, logarithmic and trigonometric keys.  Press [Inv] to
  339.            enter inverse state before pressing the required function key.
  340.            This state will be ignored if the next key pressed does not have
  341.            an inverse function.
  342.  
  343.            After the [Inv] key has been pressed an "Inv" indicator will
  344.            appear on the display.  It can be cancelled by pressing [Inv] a
  345.            second time.
  346.  
  347.         Scientific Keys
  348.  
  349.         -  [1/x]
  350.  
  351.            RECIPROCAL gives the reciprocal of the current value.
  352.  
  353.         -  [x!]
  354.  
  355.            FACTORIAL gives the factorial of the current value.
  356.  
  357.         -  [sqr]
  358.  
  359.            SQUARE ROOT gives the square root of the current value.
  360.  
  361.            To obtain the square of the current value first press the
  362.            [Inv] key.
  363.  
  364.         Logarithmic Keys
  365.  
  366.         -  [log] and [ln]
  367.  
  368.            COMMON LOG gives the base 10 logarithm of the current value.
  369.            NATURAL LOG gives the base e logarithm of the current value.
  370.  
  371.            To obtain the equivalent anti-logarithm first press the [Inv]
  372.            key.
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.         
  380.                                             PMCalc - A Pocket Calculator  3
  381.  
  382.         (C) Copyright IBM Corporation 1989, 1995
  383.         
  384.         
  385.         
  386.         Trigonometric Keys
  387.  
  388.         -  [sin], [cos] and [tan]
  389.  
  390.            SINE gives the sine of the current value.  COSINE gives the
  391.            cosine of the current value.  TANGENT gives the tangent of the
  392.            current value.
  393.  
  394.            To obtain the equivalent inverse function first press the
  395.            [Inv] key.
  396.  
  397.            Trigonometric functions can operate in either degrees or
  398.            radians, as selected by the current mode setting.
  399.  
  400.  
  401.  
  402.         1.2.2 DEGREES AND RADIANS MODE
  403.  
  404.         The trigonometric functions will operate in either degrees or
  405.         radians.  To select the required mode click on the "Deg" or "Rad"
  406.         radio button as appropriate.
  407.  
  408.  
  409.         1.2.3 ERROR CONDITIONS
  410.  
  411.         If the result of a calculation exceeds the maximum possible value
  412.         (i.e. 1e100 or greater) the message "Error." will be displayed.  To
  413.         clear the error you must press the [AC] key.  If the result is
  414.         smaller than the minimum possible value (i.e. less than 1e-99) the
  415.         result will be set to zero.
  416.  
  417.         If too many partial results are stored (due to a lot of open
  418.         bracket functions) the message "Stack Full." will be displayed.  To
  419.         clear the condition you must press the [C] key and close one or
  420.         more brackets to evaluate some of the stored results, or press
  421.         [=] to evaluate the complete result.
  422.  
  423.  
  424.         1.3 THE DISPLAY FONT
  425.  
  426.         The font used for the calculator's display area can be changed.  To
  427.         make a change simply open up OS/2's "Font Palette" (which is
  428.         usually found in the "System Setup" folder), and choose the new
  429.         font you require; either pick one of the listed fonts or hit the
  430.         "Edit" button to create a new one.
  431.  
  432.         Once you have chosen your new font pick it up and drag it using the
  433.         second mouse button, drop it onto the calculator's display area.
  434.         The font you select will be remembered when you close the
  435.         calculator down and automatically re-selected when it is used
  436.         again.
  437.  
  438.         Hint: The default font is called "12.Helv", but on a 1024x768
  439.         display try the font "18.System VIO" (if you have it) - it works
  440.         very well.
  441.  
  442.         
  443.                                             PMCalc - A Pocket Calculator  4
  444.  
  445.         (C) Copyright IBM Corporation 1989, 1995
  446.         
  447.         
  448.         
  449.         1.4 KEYBOARD USAGE
  450.  
  451.         All PMCalc functions are accessible via the keyboard, and although
  452.         some of the keys used may be a little non-standard (and non-CUA),
  453.         they are designed to be fairly obvious and simple to remember.
  454.  
  455.         -  For the digits [0] to [9] simply press the corresponding
  456.            keyboard key.
  457.  
  458.         -  For the [.] use the full-stop or period key.
  459.  
  460.         -  For the [exp] function press the space bar.
  461.  
  462.         -  For the arithmetic functions [+], [-], [x] and [/] press the
  463.            corresponding keyboard key, using "*" for multiply and "/" for
  464.            divide.
  465.  
  466.         -  For [=] press Enter or Newline.
  467.  
  468.         -  For the [C] key use Backspace and for the [AC] key use
  469.            Ctrl-Backspace.
  470.  
  471.         Hint: To use the numbers and keys on the numeric keypad (on the
  472.         right of the keyboard), don't forget to first press the Num Lock
  473.         key.
  474.  
  475.         The rest of the calculator's functions keys are all operated using
  476.         the keyboard's F-keys.
  477.  
  478.         -  The first six from [+/-] to [M-] are operated using F1 to F6.
  479.  
  480.         -  The next six from [pi] to [x!] are operated using either
  481.            Shift-F1 to Shift-F6 or F7 to F12.
  482.  
  483.         -  The top six from [sqr] to [tan] are operated using Ctrl-F1 to
  484.            Ctrl-F6.
  485.  
  486.         -  For the [Inv] function press Esc.
  487.  
  488.         -  To change between degrees and radians press Ctrl-F12.
  489.  
  490.         -  The [[(..] and [..)]] functions may also be operated by pressing
  491.            any of the open or close bracket keys on the keyboard.
  492.  
  493.  
  494.  
  495.         1.5 THE CLIPBOARD
  496.  
  497.         The current value displayed on the calculator may be copied onto
  498.         the OS/2 clipboard by simply double-clicking on the [=] button.
  499.  
  500.         Alternatively either of the key combinations Shift-Delete or
  501.         Ctrl-Insert can be used.
  502.  
  503.  
  504.  
  505.         
  506.                                             PMCalc - A Pocket Calculator  5
  507.  
  508.         ===================================================================
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.         ===================================================================
  525.  
  526.         (C) Copyright IBM Corporation 1989, 1995
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.                                                         Printed in the U.K.