home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / xact.zip / X12.DOC < prev    next >
Text File  |  1991-02-01  |  84KB  |  2,097 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                             XACT-12C Financial Calculator
  8.  
  9.  
  10.                            The Hewlett-Packard Compatible
  11.                                 Financial Calculator
  12.                             For Your IBM PC or Compatible
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                                 CalcTech Incorporated
  34.                                  6014 NE 60th Street
  35.                                    P.O. Box 15277
  36.                                Seattle, WA. 98115-0277
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                  Phone: 206-527-9950
  45.                                   Fax: 206-525-1331
  46.                                 Description
  47.  
  48.      XACT-12C is the  Financial  Calculator  of  the  XACT CALCULATORS
  49.      series.   XACT  CALCULATORS  emulate  the  functions  of Hewlett-
  50.      Packard's  handheld  HP-11C  Scientific,  HP-12C  Financial,  and
  51.      HP-16C  Programmer's calculators and include additional  features
  52.      such  as  program  store  to  disk, simulated tape  display,  and
  53.      constant memory.
  54.  
  55.      XACT CALCULATORS includes an auxiliary shell program.  XSHELL.EXE
  56.      is a Terminate-Stay-Resident (TSR) program which  loads  and runs
  57.      all three calculators.  (Note:  A TSR is a program  which remains
  58.      loaded  but  inactive  after  it  finishes execution.   TSRs  are
  59.      usually made active by  pressing  a  "hot-key"  which pops up the
  60.      program,  even  if  another program is executing  at  the  time).
  61.      XSHELL.EXE has 3 hot-keys, one for each calculator.
  62.  
  63.      Normally, the disadvantage of TSRs is that they consume a  lot of
  64.      your computer's memory, even while they're inactive.  Thus if you
  65.      have  loaded  one  or more TSRs, there may not be enough RAM left
  66.      over  to  run  your  spreadsheet,  word processor, or  other  DOS
  67.      programs.  XSHELL.EXE helps reduce "RAM Cram" because it REQUIRES
  68.      ONLY  6K BYTES OF RAM!  In fact, If you have EMS memory installed
  69.      (see section  2.2) in your computer, XSHELL requires an amazingly
  70.      small 1.5K bytes of conventional DOS memory!.
  71.  
  72.      Each  calculator  can  be  run  individually as an  ordinary  DOS
  73.      program by running either X11.EXE,  X12.EXE, or X16.EXE.  Or, all
  74.      three  calculators  can  be  run  as  a  single  TSR  by  running
  75.      XSHELL.EXE.
  76.  
  77.      XSHELL.EXE will deactivate and unload  itself  from  RAM  after 8
  78.      minutes until you register your copy.  This will allow you to try
  79.      XACT CALCULATORS as a TSR before you register.    Once XSHELL.EXE
  80.      unloads itself, your computer  will  behave  as though XSHELL had
  81.      never been loaded in  the  first  place.   To re-activate XSHELL,
  82.      simply run the program again.  It will again  remain  loaded  for
  83.      another 8 minutes.
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.                                    - 2 -
  103.                   Quick Registration for XACT CALCULATORS
  104.  
  105.  
  106.      Registration for XACT  CALCULATORS  is only $27.00.  To register,
  107.      print  a  copy  of  the  file  ORDERFRM.DOC  and  fax or mail the
  108.      completed  form  to  us.  We will quickly fax (or mail) back your
  109.      registration serial number and personal  unlock  code.    Run the
  110.      QUICKREG.EXE program  entering  your  name,  serial  number,  and
  111.      unlock code  and  that's  it,  you're  registered!   QUICKREG.EXE
  112.      serializes XSHELL.EXE and "unlocks" it's 8 minute time limit.
  113.  
  114.      AFTER  YOU'VE  REGISTERED  AND  SUCCESSFULLY   RUN  QUICKREG.EXE,
  115.      XSHELL.EXE WILL NO LONGER HAVE AN  8  MINUTE TIME LIMIT.  It will
  116.      remain resident in your computer's  RAM (waiting for a hot-key to
  117.      become active) until you reboot or manually unload XSHELL.
  118.  
  119.      If you prefer to order your registered copy by mail, feel free to
  120.      mail in your completed form.  A copy of the file  ORDERFRM.DOC is
  121.      shown on the following page.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.                                    - 3 -
  160.  
  161.      ----------------------------------------------------------------------
  162.                           FAX this form to: (206)-525-1331
  163.                                      or mail to:
  164.                                    CalcTech, Inc.
  165.                                  6014 NE 60th Street
  166.                                    P.O. Box 15277
  167.                               Seattle, WA.  98115-0277
  168.      ----------------------------------------------------------------------
  169.  
  170.                            XACT CALCULATORS - Version 5.1
  171.                                QUICK REGISTRATION FORM
  172.  
  173.        I wish to register  my copy of XACT CALCULATORS (includes XACT-11C
  174.        Scientific, XACT-12C Financial, and XACT-16C Programmer) today for
  175.        $27.00  (Washington  state residents add 8.2%  sales tax).  Please
  176.        (check one or more boxes below):
  177.  
  178.              [ ]  FAX  my serial number and personal unlock code
  179.                   as soon as possible.
  180.  
  181.                   My FAX number is: ____________________________
  182.  
  183.  
  184.              [ ]  Mail my serial number and personal unlock code
  185.                   as soon as possible.
  186.  
  187.  
  188.              [ ]  Send my  registered copy by mail.  (Enclose an
  189.                   an additional $5.00 for U.S. or Canada, $10.00
  190.                   for overseas air mail).  I prefer (check one):
  191.  
  192.                   [ ] 5.25"  or  [ ] 3.5"  diskettes
  193.  
  194.  
  195.      Name: ______________________________ Company:_________________________
  196.  
  197.      Phone: (Day) ______________________ (Evening) ________________________
  198.  
  199.      Address: _____________________________________________________________
  200.  
  201.      City: ______________________________ State: ________ Zip: ____________
  202.  
  203.      Comments: ____________________________________________________________
  204.  
  205.      ______________________________________________________________________
  206.  
  207.      (check one):      [ ] VISA     [ ] Mastercard     [ ] Check Enclosed
  208.  
  209.      Credit card #: ____________________________________ Expires: ____/____
  210.  
  211.      Cardholder's Name (Please print): ____________________________________
  212.  
  213.      Cardholder's Signature: ______________________________________________
  214.  
  215.  
  216.                                    - 4 -
  217.                           Background Information
  218.  
  219.  
  220.      CalcTech,  Inc.  is  a  company  with a respected history in  the
  221.      development of software calculators.   The  article  "TSR Desktop
  222.      Organizers", (PC  Magazine, Aug. 1987), contained a review of the
  223.      leading desk  accessory programs.  Three of the fourteen products
  224.      reviewed incorporated  calculators  developed  by  CalcTech.    A
  225.      CalcTech  calculator  has  also  won  PC  Magazine's  prestigious
  226.      "Editor's Choice" award.
  227.  
  228.      CalcTech has developed calculators for publishers and  OEM's such
  229.      as  Software  Publishing  Corp.,  Bellsoft  Inc.,  DAC  Software,
  230.      Popular Programs Inc., Timeworks Inc., Practical Peripherals, and
  231.      Monogram Software.
  232.  
  233.  
  234.      Here's What A Few Industry Experts Have To Say:
  235.  
  236.      "XACT-16C...  It has power to burn."    --Johnathan  Matzkin,  PC
  237.      Magazine.
  238.  
  239.      "PC-12C's (OEM version of  XACT-12C)  emulation  of the HP-12C is
  240.      exact, it gets my vote."  --Jim Seymour, PC Magazine
  241.  
  242.      "I found Bellsoft's (OEM version)  Pop-Up  calculator  to  be the
  243.      best for office work" --Mark J. Welch, BYTE.
  244.  
  245.      "When a program performs  flawlessly,  it  makes writing a review
  246.      hard.  Such  is  the  case  with  XACT  CALCULATORS."   --Jacques
  247.      Benavente, PCM Magazine
  248.  
  249.      XACT CALCULATORS have  won  PC Brand's 1989 award for outstanding
  250.      technical merit in a shareware program.
  251.  
  252.  
  253.  
  254.                An Important Note About The Shareware Concept
  255.  
  256.      XACT CALCULATORS are copyrighted shareware  programs.    They are
  257.      not freeware or public domain  software.  Payment is made through
  258.      registration and is on the "honor  system".   We ask that you pay
  259.      for  the programs by registration if  after  a  reasonable  trial
  260.      period, you find them to be  useful  in  your work.  We hope that
  261.      you appreciate the "try  before  you  buy" concept that shareware
  262.      products like XACT CALCULATORS provide and that you will take the
  263.      time to register.
  264.  
  265.      Anyone who has ever  purchased  expensive  (or  even inexpensive)
  266.      software can attest to  the  frustration  of  being "burned" by a
  267.      lousy product.   We think XACT CALCULATORS are excellent products
  268.      and we're giving you  the  opportunity to judge for yourself.  If
  269.      you agree, please take a moment to register.
  270.  
  271.  
  272.  
  273.                                    - 5 -
  274.                              Customer Support
  275.  
  276.      Support for XACT  CALCULATORS  is  provided  to  registered users
  277.      using our voice messaging "access code" feature.  You can call us
  278.      at (206)-527-9950  and leave your question on our voice messaging
  279.      system.  You will be given  an  "access code" which is a password
  280.      for your message.  You may then call back (usually within 1 day),
  281.      enter your access code using your touch-tone phone, and receive a
  282.      voice   message  response  to  your  question.     Alternatively,
  283.      registered users  can send your question via E-mail on CompuServe
  284.      at 71641,1721 or by U.S. mail.
  285.  
  286.      When  contacting  customer  support,  please  be  as  specific as
  287.      possible  with  your  question and be sure to mention the version
  288.      number of your copy of XACT CALCULATORS.
  289.  
  290.  
  291.            User Groups, Electronic Bulletin Boards, Disk Vendors
  292.  
  293.      User Groups, BBS SysOps, and Disk Vendors may receive an official
  294.      copy  of  the  latest shareware version of  XACT  CALCULATORS  by
  295.      submitting  a  written  request  to  CalcTech, Inc.   Please  add
  296.      CalcTech  to  your  organization's  mailing  list  and  send  any
  297.      appropriate  information  such  as  your  group's  newsletter  or
  298.      catalog.
  299.  
  300.  
  301.                       Private Labels, Custom Versions
  302.  
  303.      Private labellings and/or custom versions of XACT CALCULATORS can
  304.      be developed for your  organization.    Please  contact CalcTech,
  305.      Inc. by in writing for a quotation.
  306.  
  307.  
  308.               Government, Corporate, Academic Site Licensing
  309.  
  310.      A site license grants you the legal right to make multiple copies
  311.      of a  "master" registered version and it's documentation for your
  312.      organization or group.
  313.  
  314.      A  site   license  is  non-transferable.    We  accept  Visa  and
  315.      Mastercard, personal or corporate checks,  and  written  (fax ok)
  316.      purchase  orders  (NET  30, FOB Seattle, WA.)  for  site  license
  317.      registration.  The following page is a site license form  you can
  318.      use to fax or mail or mail to us for site licensing.
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.                                    - 6 -
  331.      ----------------------------------------------------------------------
  332.                      FAX this form to: (206)-525-1331
  333.                                 or mail to:
  334.                               CalcTech, Inc.
  335.                             6014 NE 60th Street
  336.                                P.O.Box 15277
  337.                          Seattle, WA.  98115-0277
  338.      ----------------------------------------------------------------------
  339.  
  340.                       XACT CALCULATORS - Version 5.1
  341.                       Site License Registration Form
  342.  
  343.  
  344.           Use  this form to obtain a site license for your company or
  345.           group.  Your  registered copy  will be  sent via U.S. mail.
  346.  
  347.           I wish to register XACT CALCULATORS under a multiple (site)
  348.           license agreement.  Please license my organization to allow
  349.           us to duplicate up to: (check one)
  350.  
  351.           [ ]  10 copies .................................... $100.00
  352.  
  353.           [ ]  100 copies ................................... $350.00
  354.  
  355.           [ ]  1000 copies ................................. $1000.00
  356.  
  357.                WA. state residents add 8.2% ................ $_______
  358.  
  359.                                                        TOTAL $_______
  360.  
  361.  
  362.      Company or Group Name: _______________________________________________
  363.  
  364.      Your Name: ___________________________________ Phone: ________________
  365.  
  366.      Address: _____________________________________________________________
  367.  
  368.      City: ______________________________ State: _________ Zip: ___________
  369.  
  370.  
  371.      Method of Payment: (check one)
  372.  
  373.          [ ]  Check enclosed
  374.  
  375.          [ ]  Bill Me.  Terms are NET 30, FOB Seattle, Washington
  376.               Our  Federal  taxpayer  I.D. number is:  91-1382828
  377.  
  378.               Purchase Order Number (optional): ___________________________
  379.  
  380.          [ ]  Charge my Visa or Mastercard
  381.  
  382.               Cardholder's Name: __________________________________________
  383.  
  384.               Credit Card #: ____________________________ Expires:____/____
  385.  
  386.  
  387.                                    - 7 -
  388.                              License Agreement
  389.  
  390.      You are hereby granted  permission  to  use  this software and to
  391.      distribute  copies  of  the  software  and  documentation  in its
  392.      original  form  as  long as it  is  not  distributed  for  profit
  393.      (handling fees  less  than  $5.00  are  ok).   ONLY COPIES OF THE
  394.      SHAREWARE VERSION  OF  THIS  SOFTWARE  AND  DOCUMENTATION  MAY BE
  395.      DISTRIBUTED  IN ANY FORM.  You are not  allowed  to  make  copies
  396.      (except for backup purposes only) or distribute this software and
  397.      documentation once the software has been registered.
  398.  
  399.      THE SOFTWARE HEREIN ARE PROVIDED  "AS IS" WITHOUT WARRANTY OF ANY
  400.      KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  401.      THE IMPLIED  WARRANTIES  OF  MERCHANTABILITY  AND  FITNESS  FOR A
  402.      PARTICULAR PURPOSE.   THE  ENTIRE  RISK  AS  TO  THE  QUALITY AND
  403.      PERFORMANCE OF THE PROGRAMS IS WITH YOU.
  404.  
  405.      IN  NO  EVENT  SHALL CALCTECH OR ANY OF IT'S OFFICERS, DIRECTORS,
  406.      SHAREHOLDERS, EMPLOYEES,  AFFILIATES,  OWNERS,  OR  OTHER RELATED
  407.      PARTIES BE LIABLE  TO  YOU  OR  ANY OTHER THIRD PARTY FOR DAMAGES
  408.      INCLUDING ANY  LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR
  409.      CONSEQUENTIAL DAMAGES ARISING OUT OF  THE USE OF OR THE INABILITY
  410.      TO USE THIS PRODUCT OR AS TO THE PERFORMANCE OF THIS PRODUCT EVEN
  411.      IF WE HAVE  BEEN  ADVISED  OF  THE POSSIBILITY OF SUCH DAMAGES IN
  412.      ADVANCE.
  413.  
  414.      SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY
  415.      FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO  THE  ABOVE LIMITATION
  416.      OR EXCLUSION MAY NOT APPLY TO YOU.
  417.  
  418.      THIS  AGREEMENT  IS  GOVERNED  BY   THE  LAWS  OF  THE  STATE  OF
  419.      WASHINGTON.
  420.  
  421.  
  422.                            Trademarks/Copyrights
  423.  
  424.      HP-11C, HP-12C, and HP-16C are trademarks of Hewlett-Packard Co.
  425.      Lotus is a trademark of Lotus Development Corp.
  426.      Intel is a trademark of the Intel Corp.
  427.      PC-DOS, IBM-PC, PC-XT, PC-AT and PS/2 are trademarks of IBM.
  428.      MS-DOS, Microsoft Windows and Microsoft Word are trademarks
  429.      of Microsoft Corp.
  430.  
  431.      Copyright (C) 1987-1990, 1991 by CalcTech Inc.
  432.      All rights reserved.
  433.      Specifications herein are subject to change without notice.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.                                    - 8 -
  445.                              TABLE OF CONTENTS
  446.  
  447.  
  448.      Section  Title                                                 Page
  449.  
  450.      1.  Getting Started  .......................................... 11
  451.  
  452.      1.1      Introduction ......................................... 11
  453.      1.2      Other Guides ......................................... 11
  454.      1.3      System Requirements .................................. 12
  455.      1.4      Installing XACT-12C and Making Backups ............... 12
  456.      1.5      Command Line Options & Changing Hot Keys ............. 12
  457.      1.6      Using XACT-12C with Microsoft Windows ................ 13
  458.      1.7      Using XACT-12C on a Network .......................... 13
  459.  
  460.      2.  Loading XACT-12C .......................................... 14
  461.  
  462.      2.1      XACT-12C Shareware Version ........................... 14
  463.      2.2      XACT-12C as a TSR Program ............................ 14
  464.      2.3      XACT-12C as a Removable TSR Program .................. 15
  465.  
  466.      3.  XACT-12C Basics ........................................... 16
  467.  
  468.      3.1      Keyboard Conventions ................................. 16
  469.      3.2      Function Keys ........................................ 16
  470.      3.3      Prefix Keys .......................................... 16
  471.      3.4      Entering Numbers ..................................... 17
  472.      3.5      Short Cut Keys ....................................... 17
  473.  
  474.      4.  Basic Operations .......................................... 17
  475.  
  476.      4.1      Setting the Display Format ........................... 17
  477.      4.2      Arithmetic Calculations and RPN ...................... 17
  478.      4.3      Clearing Numbers ..................................... 18
  479.      4.4      Negative Numbers ..................................... 19
  480.      4.5      Mathematical Operations .............................. 19
  481.      4.6      Exponential Notation ................................. 19
  482.      4.7      Memory Storage Registers ............................. 19
  483.      4.8      Stack Operations ..................................... 20
  484.      4.9      The LastX Register ................................... 20
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.                                    - 9 -
  502.      Section  Title                                                 Page
  503.  
  504.      5.  Features .................................................. 21
  505.  
  506.      5.1      Getting Help ......................................... 21
  507.      5.2      Viewing the Tape ..................................... 21
  508.      5.3      Printing the Tape .................................... 21
  509.      5.4      Storing the Tape ..................................... 21
  510.      5.5      Loading a Program .................................... 21
  511.      5.6      Storing a Program .................................... 22
  512.  
  513.      6.  Financial Calculations .................................... 22
  514.  
  515.      6.1      Financial Registers and Functions .................... 22
  516.      6.2      Cash Flow Notation ................................... 23
  517.      6.3      Percentage Operations ................................ 23
  518.      6.4      Simple Interest ...................................... 24
  519.      6.5      Compound Interest .................................... 24
  520.      6.6      Amortization ......................................... 27
  521.      6.7      Net Present Value .................................... 28
  522.      6.8      Internal Rate of Return .............................. 29
  523.  
  524.      7.  Bond Calculations ......................................... 29
  525.  
  526.      7.1      Bond Yield ........................................... 29
  527.      7.2      Bond Price ........................................... 30
  528.  
  529.      8.  Statistical Calculations .................................. 30
  530.  
  531.      8.1      Entering and Removing Numbers ........................ 30
  532.      8.2      Statistical Mean ..................................... 31
  533.      8.3      Statistical Weighted Mean ............................ 31
  534.      8.4      Standard Deviation ................................... 32
  535.      8.5      Linear Estimate ...................................... 33
  536.  
  537.      9.  Calendar Calculations ..................................... 33
  538.  
  539.      9.1      Days between Dates ................................... 33
  540.      9.2      Date Calculations .................................... 33
  541.  
  542.      10.  Programming .............................................. 34
  543.  
  544.      10.1     Introduction to Programming .......................... 34
  545.      10.2     Entering a Program into XACT-12C ..................... 34
  546.      10.3     Program Loops and Branches ........................... 36
  547.  
  548.      11.  Appendix ................................................. 37
  549.  
  550.      11.1     Error Conditions ..................................... 37
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.                                    - 10 -
  559.      1.  Getting Started
  560.  
  561.  
  562.      1.1  Introduction
  563.  
  564.      XACT CALCULATORS  are software which emulate the functions of the
  565.      handheld  models  of  Hewlett-Packard's HP-11C Scientific, HP-12C
  566.      Financial, and  HP-16C  Programmer's  calculators.    If  you are
  567.      familiar with one or  more  of  these  calculators, you will find
  568.      that you  already  know  how  to  use  XACT CALCULATORS.  If not,
  569.      you'll find XACT CALCULATORS easy to learn and use.    They  will
  570.      become an invaluable tool in your work.
  571.  
  572.      XACT-12C is the Financial Calculator program.    XACT CALCULATORS
  573.      also incorporate  the  XACT-11C  Scientific  Calculator  and  the
  574.      XACT-16C Programmer's calculator.
  575.  
  576.      If you are already familiar with DOS and with the HP-12C, you may
  577.      only need to read Chapters 2 and 3.    This  will  provide enough
  578.      information to get you started.
  579.  
  580.      If you are new to DOS and/or the HP-12C, you may wish to read, or
  581.      at least skim, Chapters 1 through 6.
  582.  
  583.  
  584.  
  585.      1.2  Other Guides
  586.  
  587.      There are a number  of  guides  and  references available for the
  588.      HP-12C  that  can  be  used  with  XACT-12C  as  well.  These are
  589.      generally available in bookstores and other places where Hewlett-
  590.      Packard  calculators  are  sold.  Some  of these publications are
  591.      listed below.
  592.  
  593.      "HP-12C  Owner's  Handbook  and  Problem  Solving  Guide"  Covers
  594.      general  operations, functions, applications, and programming  of
  595.      the HP-12C.  Published by the Hewlett-Packard Company.
  596.  
  597.      HP-12C Solutions Handbook" Supplement to the Owner's Handbook and
  598.      Problem  Solving  Guide.     Applications  include  real  estate,
  599.      lending, savings, investment  analysis,  securities, forecasting,
  600.      pricing, statistics, personal finance, and  more.    Published by
  601.      the Hewlett-Packard Company.
  602.  
  603.      "HP-12C Training  Guide"  Tutorial  introduction  to  the  HP-12C
  604.      containing lots of examples.   Published  by  the Hewlett-Packard
  605.      Company.
  606.  
  607.      "An Easy  Course in using the HP-12C" by Coffin/Wadman. Published
  608.      by Grapevine Publishing, Inc. P.O. Box 118, Corvallis, OR, 97339.
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.                                    - 11 -
  616.      1.3  System Requirements
  617.  
  618.      To operate the XACT-12C calculator, you will need an IBM PC,  PC-
  619.      XT, PC-AT, PS/2, or close compatible equipped with  at  least the
  620.      following:
  621.  
  622.         256K RAM
  623.         PC-DOS or MS-DOS version 3.00 or later
  624.  
  625.  
  626.      1.4  Installing XACT CALCULATORS and Making Backups
  627.  
  628.      You  should make a copy of the programs  contained  on  the  XACT
  629.      CALCULATORS diskette for  backup  purposes.  Use  the  DOS "copy"
  630.      command to copy all the files to another diskette or to your hard
  631.      disk.  There may be a file named README.DOC on your disk.  If so,
  632.      you should examine it using your word processor or the DOS "type"
  633.      command.
  634.  
  635.  
  636.      1.5  Command Line Options/Changing Hot-Keys
  637.  
  638.      A command line option  is  an  additional  command typed when you
  639.      first load X12.EXE or  XSHELL.EXE.    There  are several of these
  640.      options available.  For example, if you wish to start XACT-12C in
  641.      monochrome mode, you would type:
  642.  
  643.          x12  /mono  [ENTER]
  644.  
  645.      The  following  is  a list of available command line options when
  646.      running XACT-12C.
  647.  
  648.          /mono          Force XACT-12C into monochrome mode
  649.          /sci           Start up in scientific notation (XACT-11C only)
  650.          /nomouse       Disable mouse operation
  651.          /nosignon      Disable the signon screen
  652.          /swap=<path>   Directory/Path used to store swap files
  653.  
  654.      There are additional command line options available  when running
  655.      the  program  XSHELL.EXE.   The following  is  a  list  of  these
  656.      options.
  657.  
  658.          /alt          Changes invocation key to Alt-s (XACT-11C),
  659.                        Alt-f (XACT-12C), Alt-p (XACT-16)
  660.          /alt-ctrl     Change invocation key to Alt-Ctrl-s (XACT-11C),
  661.                        Alt-Ctrl-f (XACT-12C), Alt-Ctrl-p (XACT-16C)
  662.          /mono         Force XACT CALCULATORS into monochrome mode
  663.          /sci          Set scientific notation (XACT-11C only)
  664.          /noems        Disable EMS memory usage (if EMS memory present)
  665.          /nomouse      Disable mouse operation
  666.          /nosignon     Disable the signon screen
  667.          /swap=<path>  Directory/Path used for swap files.  (See section
  668.                        on using XACT CALCULATORS on a network)
  669.          /wsize=nn     Set word size (XACT-16C only). Valid settings
  670.  
  671.  
  672.                                    - 12 -
  673.                        for nn are 2 to 64.
  674.          /radix=n      Set radix (XACT-16C only). Valid settings for
  675.                        n are h,d,o,b, or f (hex,dec,oct,bin,float)
  676.  
  677.  
  678.      1.6 Using XACT-12C with Microsoft Windows
  679.  
  680.  
  681.      If you use Microsoft Windows, you  may  wish to set up Windows to
  682.      run  XACT-12C.    XACT-12C  will  run as an ordinary "text  mode"
  683.      application under Windows  which  can  be  set  up  to  be either
  684.      windowed or in full screen mode.
  685.  
  686.      To run XACT-12C under Windows, you should first create a PIF file
  687.      which is used to "describe" the program to Windows.  Use  the PIF
  688.      editor  (pifedit.exe)  to  create  an  x11.pif  file.    For  the
  689.      "optional parameters" field, type in /nosignon  so  that XACT-12C
  690.      won't  display  it's  startup screen every time you click on it's
  691.      icon.  Also make sure that the "KB required" field is set to 128.
  692.      (For additional information on using  the  PIF  editor,  see your
  693.      Windows documentation).
  694.  
  695.      Once you  have  created  a  PIF  file,  you will probably want to
  696.      create an icon  so  you  can  easily  invoke  XACT-12C  by double
  697.      clicking  on an icon.  We have supplied a custom icon you can use
  698.      to do  this.    From  the  Windows  program manager, create a new
  699.      program  item  and  in the "command line" field, type in x12.pif.
  700.      Then select the "change  icon"  button and type in xact.ico.  (If
  701.      you're unclear  on  these  procedures,  they're  also  covered in
  702.      Microsoft's Windows documentation).
  703.  
  704.      1.7  Using XACT-12C on a Network
  705.  
  706.      XACT-12C  and  all  XACT  CALCULATORS  are  compatible  with most
  707.      networks.    If  you  wish  to  use  them on a network, read  the
  708.      following information.
  709.  
  710.      All XACT CALCULATORS use a technique known as  swapping  in order
  711.      to save memory as well as save the state of each  calculator each
  712.      time  you  finish  using  it.    Swapping  creates  a  number  of
  713.      "temporary" files.  By default, these files are saved in the same
  714.      directory as the XACT CALCULATOR  programs themselves.  If two or
  715.      more  users on a network are running  a  calculator,  their  swap
  716.      files  will eventually corrupt each other, causing  unpredictable
  717.      results.  There are 2 different ways to avoid this problem.  Both
  718.      involve  changing  the  directory  in  which the swap  files  are
  719.      stored.
  720.  
  721.      The  first  method  is by using an environmental variable to tell
  722.      XACT  CALCULATORS  the  path to use to store its swap files.  For
  723.      example, assume you have  2  network users (Jan and Bill) each of
  724.      which  have access to network drive N:.   Assume  also  that  the
  725.      directorys  N:\USER\JAN\TEMP  and  N:\USER\BILL\TEMP have already
  726.  
  727.  
  728.  
  729.                                    - 13 -
  730.      been created on drive  N:   The environmental variable can be set
  731.      by putting the following statement in Jan's AUTOEXEC.BAT file:
  732.  
  733.         SET XACT=N:\USER\JAN\TEMP
  734.  
  735.      whereas Bill's AUTOEXEC.BAT file would contain the statement:
  736.  
  737.         SET XACT=N:\USER\BILL\TEMP
  738.  
  739.      Now  even though Jan and Bill may be running the same copy of one
  740.      of the calculators, they would  each have separate copies of swap
  741.      files and there would be no conflict.
  742.  
  743.      The second method uses  the  same idea, however, the swap path is
  744.      chosen from the command line.  For example:
  745.  
  746.         X12 /SWAP=C:\TEMP
  747.  
  748.      would place the swap files  in the directory C:\Temp, assuming it
  749.      existed.
  750.  
  751.  
  752.  
  753.      2.  Running XACT-12C
  754.  
  755.  
  756.      2.1  Running XACT-12C as a stand-alone DOS program
  757.  
  758.      To run XACT-12C, at the DOS prompt type:
  759.  
  760.          x12  [ENTER]
  761.  
  762.  
  763.      2.2  Running XACT-12C as a TSR program
  764.  
  765.      To run XACT-12C as a TSR program, type
  766.  
  767.          xshell  [ENTER]
  768.  
  769.      You will see  the  copyright  message  appear on the screen.  The
  770.      computer  will then return to the DOS prompt  and  appear  as  if
  771.      nothing  had  happened.    However,  the  XACT  CALCULATORS shell
  772.      program  has now been loaded into your  computer's  memory.    To
  773.      activate XACT-12C, press:
  774.  
  775.          Alt-Shift-F
  776.  
  777.      XACT-12C  will  now  appear  on  your  screen,  ready to  perform
  778.      calculations.    To  exit from XACT-12C, press the Esc key.  In a
  779.      likewise fashion, to run the XACT-11C scientific  calculator, you
  780.      would  instead  press  Alt-Shift-S,  and  to  run   the  XACT-16C
  781.      Programmer's calculator you would  press  Alt-Shift-P.    You can
  782.      also unload XSHELL from RAM by pressing Alt-Shift-U.
  783.  
  784.  
  785.  
  786.                                    - 14 -
  787.      When you run XSHELL, it will use between  1.5K  and  6K  bytes of
  788.      your computer's RAM.  To determine exactly how much memory XSHELL
  789.      is using, you can run the DOS command "chkdsk"  both  before  and
  790.      after running XSHELL and  noting  the  difference in memory bytes
  791.      free.   If you are unfamiliar with this  command,  see  your  DOS
  792.      reference manual.
  793.  
  794.      EMS (Expanded memory specification)  memory  is  a type of memory
  795.      specification that was developed  jointly  by  Lotus,  Intel, and
  796.      Microsoft.   EMS memory was developed as  a  work-around  to  get
  797.      around the  640K  DOS  memory  limitation.    In order to use EMS
  798.      memory, a program must be  written specifically to use EMS memory
  799.      (if available).  XSHELL is such  a  program.   If you have an EMS
  800.      memory board installed in your  computer, XSHELL will put as much
  801.      of  itself  in  EMS memory as it can and will  also  "swap"  your
  802.      computer's memory to EMS memory  when  you  pop-up  a calculator.
  803.      With EMS memory installed, XSHELL  will require less than 1.5K of
  804.      DOS  memory!.    If  you  don't  have  EMS memory but have a  386
  805.      computer,  there are several commercial programs available  which
  806.      can "simulate" EMS memory.
  807.  
  808.      Even if you don't have EMS memory installed, XSHELL requires less
  809.      than 6K bytes  of  DOS  memory.   Without EMS memory, XSHELL will
  810.      swap to disk, creating the file XSHELL.SWP.  This file may  be as
  811.      large as 131k bytes.
  812.  
  813.      If you have not  registered  your  copy  of XACT CALCULATORS, you
  814.      will only be able to use them as  a  TSR  program  for 8  minutes
  815.      before they automatically unload themselves from memory.  After 8
  816.      minutes,  you  will  hear  a  tone  telling  you that  XSHELL  is
  817.      unloading.  You will have to run XSHELL  again  in  order  to use
  818.      XACT CALCULATORS as a TSR.  Once you have registered and received
  819.      your serial number and unlock code, you can  enter  these numbers
  820.      into  the program QUICKREG.EXE which will  remove  the  8  minute
  821.      limit from XSHELL.  You can always run X12.EXE as a (non-TSR) DOS
  822.      program without any limitations whatsoever.
  823.  
  824.  
  825.      2.3  XACT-12C as a Removable TSR Program
  826.  
  827.      When the shell program is loaded  as  a TSR program as in section
  828.      2.1 above, it remains loaded in your computer's memory until your
  829.      computer  is  rebooted  or powered off.    To  unload  the  shell
  830.      program, press:
  831.  
  832.          Alt-Shift-U
  833.  
  834.      Unloading the shell  program  will  not  work  if  any  other TSR
  835.      programs have been loaded after XSHELL.EXE.   Unfortunately, this
  836.      is a limitation of DOS itself.
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.                                    - 15 -
  844.      3.  XACT-12C Basics
  845.  
  846.  
  847.      3.1  Keyboard Conventions
  848.  
  849.      Throughout this manual, XACT-12C function keys are denoted within
  850.      a  box.     For   example,  the  function  key  for  amortization
  851.      calculations is shown as  [AMORT].   In the case of function keys
  852.      which require a prefix key (discussed in the  next  section), the
  853.      prefix key is not given in this manual  since  it  can  easily be
  854.      determined.
  855.  
  856.      Keys on the PC keyboard are listed in this  manual  using  single
  857.      quotes  such as 'a'.  Numbers to be  entered  into  XACT-12C  are
  858.      shown in normal type.
  859.  
  860.  
  861.      3.2  Function Keys
  862.  
  863.      XACT-12C has approximately 70 different function keys arranged in
  864.      the same ordering as  on  the HP-12C.  Function keys are arranged
  865.      in  groups of up to 3 functions per key; an upper, a lower and  a
  866.      middle  function  all  correspond to one function key.  The upper
  867.      and  lower  functions  are invoked by first pressing a prefix key
  868.      (discussed in the next  section)  and then the function key.  The
  869.      middle function does not require the use of a prefix key.  The PC
  870.      keystroke corresponding to function key is  shown  immediately to
  871.      the left of the function box.
  872.  
  873.      The  first  row  of function keys use the PC keys F1 through F10.
  874.      The second through  fourth  rows use the alphabetic characters as
  875.      arranged left to right on your PC keyboard.
  876.  
  877.      For  example,  the  [Clx]  function  on  XACT-12C  is invoked  by
  878.      pressing the letter 'g' on the PC keyboard.  Likewise,  the [Rcl]
  879.      function  is  invoked  by pressing the  letter  'b'.    The  [PV]
  880.      function is invoke by pressing F3.
  881.  
  882.  
  883.      3.3  Prefix Keys
  884.  
  885.      The left shift key and the right shift  key  on  the  PC keyboard
  886.      operate as prefix keys.  They are equivalent to the gold  [f] key
  887.      and the  blue  [g]  key  on the HP-12C.  Prefix keys allow you to
  888.      activate the upper and lower  functions assigned to a PC function
  889.      key.  For example, to invoke the [SOYD] function, you would press
  890.      and release the left shift key, and then press  the  letter  'r'.
  891.      Likewise,  to invoke the [Frac] function,  you  would  press  and
  892.      release  the  right  shift key and then press the letter 'r'.  To
  893.      invoke the [NPV] function, press  and release the left shift key,
  894.      and then press F3.
  895.  
  896.  
  897.  
  898.  
  899.  
  900.                                    - 16 -
  901.      3.4  Entering Numbers
  902.  
  903.      To enter numbers into  XACT-12C,  use  the  numeric keypad on the
  904.      right  side of your keyboard or the  numbers  on  the  typewriter
  905.      portion of the keyboard.
  906.  
  907.  
  908.      3.5  Short Cut Keys
  909.  
  910.      You can use the Enter key  on  the  PC, (also known as the Return
  911.      key) as the XACT-12C [ENTER] key  as  a short cut. Also, the '+',
  912.      '-', '*', and '/' keys adjacent to the numeric keypad function as
  913.      you would expect.
  914.  
  915.  
  916.  
  917.      4.  Basic Operations
  918.  
  919.  
  920.      4.1  Setting the Display Format
  921.  
  922.      When you first start  it  up,  XACT-12C  defaults to displaying 2
  923.      digits  to  the  right  of  the  decimal  point.   To change this
  924.      setting, press the [Fix] function key followed by a number from 0
  925.      to  9  (enter  numbers  using  the numeric keypad).  This  number
  926.      represents the number of  digits  displayed  to  the right of the
  927.      decimal point.  Note that the display format does not  affect the
  928.      number  of  digits  used to perform calculations, only the way in
  929.      which they are  displayed.  If  you  were using a 2 digit display
  930.      format, the number 12.006 would be shown on the display as 12.01.
  931.      In this example, the display has been rounded to  2  digits  past
  932.      the decimal point. However, the  internal  representation  of the
  933.      number is still kept as 12.006,  and  this value would be used in
  934.      subsequent calculations.
  935.  
  936.      To round the number internally to match the number in the display
  937.      use the [Rnd] key.  In the above example, if  the  [Rnd] key were
  938.      pressed, the internal value 12.006 would be converted to 12.01.
  939.  
  940.  
  941.      4.2  Arithmetic Calculations and RPN
  942.  
  943.      You may already  be  familiar with Reverse Polish Notation (RPN).
  944.      RPN is a type of calculator logic that eliminates  the  need  for
  945.      the  equals  key  and  the  use of parenthesis  in  computations.
  946.      Instead,  multiple  operands  are  entered  into  the  calculator
  947.      separated by the [ENTER] key.  For example, to add the  numbers 3
  948.      and 4:
  949.  
  950.      Keystroke                 Display        Comment
  951.      ================================================================
  952.         3  [ENTER]             3.00
  953.         4  [ + ]               7.00           Add 3 + 4
  954.  
  955.  
  956.  
  957.                                    - 17 -
  958.      The result, 7.00 is now displayed.  To multiply this result by 5:
  959.  
  960.      Keystroke                 Display        Comment
  961.      ================================================================
  962.         5 [ * ]                35.00          7.00*5.00
  963.  
  964.      The way that XACT-12C performs  these calculations with RPN is by
  965.      using a stack.  The stack consists of 4 registers:  X,  Y, Z, and
  966.      T.   It is not generally necessary  to  understand  the  internal
  967.      workings of the stack but for completeness they  will  briefly be
  968.      discussed below.
  969.  
  970.      Any number displayed is said to be in the X  register.   When the
  971.      [ENTER] key is pressed, a number in the X Register is pushed into
  972.      the Y  Register  and  the  previous  number  in the Y Register is
  973.      pushed  into  the  Z  Register.    The  previous  number in the Z
  974.      register   is pushed into the T Register.  T stands for "Top" and
  975.      represents the top of  the  stack of numbers.  The previous value
  976.      of the T register   is lost.  When a function key such as the [+]
  977.      key  is pressed, the value held in the Y register is added to the
  978.      X register  and  this  result  is  now  stored in the X register.
  979.      Pressing  [ENTER]  does  one  other  thing, it leaves  the  stack
  980.      disabled. This means that a  number entered after the [ENTER] key
  981.      has  been pressed is not pushed on the stack, it remains in the X
  982.      register.  Most operations enable the stack so that  when  a  new
  983.      number  is  entered,  the previous contents of the X register are
  984.      pushed into the Y register.  The most notable exceptions  to this
  985.      rule are the [ENTER] and the [Clx] function keys.
  986.  
  987.  
  988.      4.3  Clearing Numbers
  989.  
  990.      You can  clear  a  number  in  the  display by pressing the [Clx]
  991.      function  key.  The calculator is now  ready  to  accept  another
  992.      entry.  Unlike other calculators, XACT-12C does not require a key
  993.      for clearing a number  and  a different key for clearing the last
  994.      entry.  Whether you have made a mistake  in  adding  a  series of
  995.      numbers, or simply wish to start a new calculation, use the [Clx]
  996.      function  key.  XACT-12C also contains  other  function  keys  to
  997.      clear the following:
  998.  
  999.  
  1000.         [S]     Clear Sum.  Used to clear the statistical registers
  1001.                 when perform statistics calculations.
  1002.         [Prgm]  Clear Program.  Used to clear the program memory when
  1003.                 programming XACT-12C.
  1004.         [Fin]   Clear Financial Registers.  Used to clear the financial
  1005.                 registers when performing a new compound interest
  1006.                 calculation.
  1007.         [Reg]   Clear Registers.  Used to clear all registers; display,
  1008.                 stack, memory, financial, and LastX.  This key is used
  1009.                 when beginning a new [NPV] or [IRR] calculation, as
  1010.                 well as various other places.
  1011.  
  1012.  
  1013.  
  1014.                                    - 18 -
  1015.      4.4  Negative Numbers
  1016.  
  1017.      To  change  the  sign of a number in the display, press the [ChS]
  1018.      (Change Sign) function key.  The [ChS] function  will  toggle the
  1019.      sign of the  value in the display.  The [ChS] key is also used to
  1020.      change  the  sign  of  an  exponent if you are using  exponential
  1021.      notation.
  1022.  
  1023.  
  1024.      4.5  Mathematical Operations
  1025.  
  1026.      XACT-12C   contains  a  number  of  commonly  used   mathematical
  1027.      operations.
  1028.  
  1029.  
  1030.         [x]      Square root of a number.
  1031.         [Ln]     Natural log of a number.
  1032.         [e^x]    Exponential of a number.
  1033.         [1/x]    Reciprocal of a number.
  1034.         [Intg]   Return the integer portion of a number.
  1035.         [Frac]   Return the fractional portion of a number.
  1036.         [y^x]    Raise a number to a power of another number.
  1037.  
  1038.  
  1039.      4.6  Exponential Notation
  1040.  
  1041.      Use  exponential  notation  to  enter  very large or  very  small
  1042.      numbers into XACT-12C.   The  [Eex] function key is used to enter
  1043.      an  exponent.    For  example,  to  enter  the  number 12 * 10**9
  1044.      (12,000,000,000) type:
  1045.  
  1046.  
  1047.      Keystroke                 Display        Comment
  1048.      ================================================================
  1049.         12 [EEx] 9                 12.00        +09
  1050.  
  1051.      Likewise, to enter the number 12-09, you would type:
  1052.  
  1053.      Keystroke                 Display        Comment
  1054.      ================================================================
  1055.         12 [EEx] 9             12.00 +09
  1056.         [ChS]                  12.00 -09
  1057.  
  1058.  
  1059.      4.7  Memory Storage Registers
  1060.  
  1061.      XACT-12C contains 20 different memory storage registers,  used to
  1062.      perform  storage  and  memory  arithmetic  calculations.    These
  1063.      memories will  retain their values until your computer is powered
  1064.      off or re-booted.  Memory  registers in XACT-12C are  referred to
  1065.      as  R0-R9  (for  register 0 through 9), and R.0 through R.9.  For
  1066.      example, to store the value 20.3 in  memory register 2, type:
  1067.  
  1068.  
  1069.  
  1070.  
  1071.                                    - 19 -
  1072.      Keystroke                 Display        Comment
  1073.      ================================================================
  1074.         20.3 [Sto] 2           20.30
  1075.  
  1076.      To add the number 9.6 to the contents of register 2, type:
  1077.  
  1078.      Keystroke                 Display        Comment
  1079.      ================================================================
  1080.         9.6 [Sto] [ + ] 2      9.60
  1081.  
  1082.      Now, if you wish to view the contents of memory register 2, type:
  1083.  
  1084.      Keystroke                 Display        Comment
  1085.      ================================================================
  1086.         [Rcl] 2                29.90
  1087.  
  1088.      Memory register 2 contains the value 29.90.
  1089.  
  1090.  
  1091.      4.8  Stack Operations
  1092.  
  1093.      The  [x<>y]  function  exchanges the contents  of  the  X  and  Y
  1094.      registers.    The  [R|] (shown on XACT-12C as an R followed by an
  1095.      arrow  pointing  downward)  function rolls down the stack.  The T
  1096.      register  is  copied  into the  Z register.  The  Z  register  is
  1097.      copied into the Y register,  and the  Y  register  is copied into
  1098.      the  X register.  The X register  is "rolled  around" into the  T
  1099.      register.
  1100.  
  1101.  
  1102.      4.9  The LastX Register
  1103.  
  1104.      The [Lstx] function key  is  not technically a part of the stack.
  1105.      It is used to recover  numbers entered just before a mathematical
  1106.      operation  was performed  on  the stack.  The number recovered is
  1107.      held  in  a register referred to as  the  LastX  register.    For
  1108.      example,  assume  you  meant  to  add  the  numbers  12 and 5 but
  1109.      accidentally pressed 6 instead of 5.
  1110.  
  1111.      Keystroke                 Display        Comment
  1112.      ================================================================
  1113.         12 [ENTER]             12.00
  1114.         6 [ + ]                18.00          Wrong value
  1115.         [Lstx]                  6.00
  1116.         [ - ]                  12.00          Subtract
  1117.         5 [ + ]                17.00          Correct result
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.                                    - 20 -
  1129.      5.  Features
  1130.  
  1131.  
  1132.      5.1  Getting Help
  1133.  
  1134.      A Help menu is available when you are working with XACT-12C.   To
  1135.      obtain  help  press:
  1136.  
  1137.          Alt-F1
  1138.  
  1139.      An information screen will appear in a window.  The help menu can
  1140.      be removed by pressing F1 again.
  1141.  
  1142.  
  1143.      5.2  Viewing the Tape
  1144.  
  1145.      XACT-12C provides a  simulated  tape display which keeps a record
  1146.      of your  calculations  as  you  perform  them.   To view the tape
  1147.      press:
  1148.  
  1149.          Alt-F2
  1150.  
  1151.      The tape will appear in a window.  To remove  the  tape, press F2
  1152.      again.
  1153.  
  1154.      The calculator will disappear and  the number in the display will
  1155.      be fed to your application.
  1156.  
  1157.  
  1158.      5.3 Printing the Tape
  1159.  
  1160.      To print the tape as you make calculations press:
  1161.  
  1162.          Alt-F5
  1163.  
  1164.      To turn off printing, press F5 again.
  1165.  
  1166.  
  1167.      5.4 Storing the Tape
  1168.  
  1169.      The simulated tape may be  saved  to  a  disk  file  as  you make
  1170.      calculations.   Each  time you  use  XACT-12C,  calculations  are
  1171.      appended to the tape file.  To store the tape, press
  1172.  
  1173.          Alt-F6
  1174.  
  1175.      The tape will be saved under the name X12.ASC  in  the  directory
  1176.      which you started XACT-12C in.
  1177.  
  1178.  
  1179.      5.5 Loading a Program
  1180.  
  1181.      To load a program previously saved press:
  1182.  
  1183.  
  1184.  
  1185.                                    - 21 -
  1186.          Alt-F7
  1187.  
  1188.      A window  will  appear  requesting  a  file  name.  Enter the DOS
  1189.      filename of the program you wish to retrieve.
  1190.  
  1191.  
  1192.      5.6 Storing a Program
  1193.  
  1194.      XACT-12C  allows  you  to save programs as disk files.  To save a
  1195.      program on disk, press:
  1196.  
  1197.          Alt-F8
  1198.  
  1199.      A window will appear prompting you for comments.  You   can enter
  1200.      up   to 3 lines of comments, associated with the program you  are
  1201.      saving.  Press the  Esc key after you have entered  any comments.
  1202.      Another window will appear prompting you for a  filename.   Enter
  1203.      any valid DOS filename.
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.      6.  Financial Calculations
  1210.  
  1211.  
  1212.      6.1  Financial Registers and Functions
  1213.  
  1214.      XACT-12C  contains  a  number  of  financial  registers.    These
  1215.      registers  are  function  keys used for storing  values  and  for
  1216.      computing compound interest problems. The financial registers are
  1217.      summarized here:
  1218.  
  1219.  
  1220.         [PV]      Store/Calculate Present Value
  1221.         [FV]      Store/Calculate Future Value
  1222.         [I]       Store/Calculate the Interest Rate per
  1223.                   compounding period
  1224.         [N]       Store/Calculate the Number of periods
  1225.  
  1226.      In addition, there are a  number of additional function keys used
  1227.      for financial calculations:
  1228.  
  1229.         [AMORT]   Calculate Amortization
  1230.         [INT]     Calculate simple Interest
  1231.         [NPV]     Calculate Net Present Value
  1232.         [IRR]     Calculate Internal Rate of Return
  1233.         [PRICE]   Calculate the Price of a Bond
  1234.         [YTM]     Calculate the Yield To Maturity of a Bond
  1235.         [SL]      Calculate Straight Line Depreciation
  1236.         [SOYD]    Calculate Sum of Years Digits Depreciation
  1237.         [DB]      Calculate Declining Balance depreciation
  1238.  
  1239.  
  1240.  
  1241.  
  1242.                                    - 22 -
  1243.      6.2  Cash Flow Notation
  1244.  
  1245.      Compound  interest  calculations  involve  both  the  paying  and
  1246.      receiving of monies.  For example if you  take  out  a  loan, you
  1247.      initially receive  money  from the bank, then you must  pay money
  1248.      to the bank at periodic  intervals.   Likewise    if  you deposit
  1249.      money  into  a  savings account, you  are paying money  into that
  1250.      account and receiving money later in terms   of  what  you   have
  1251.      earned as principal and interest.
  1252.  
  1253.      There  is  a  convention used within XACT-12C  to  designate  the
  1254.      paying and receiving of monies when calculation compound interest
  1255.      calculations.  Money paid is always a negative  number,  since it
  1256.      is being subtracted from a source.  Likewise, money received is a
  1257.      positive  number.    Thus when  entering or calculating a problem
  1258.      using the [PV]  the  [FV]  or  the  [PMT]  registers,  you should
  1259.      observe the proper sign convention.    This  concept  will become
  1260.      clear in the examples of section 6.5.
  1261.  
  1262.  
  1263.      6.3  Percentage Operations
  1264.  
  1265.      XACT-12C  performs   several   different   types   of  percentage
  1266.      calculations.  The [ % ] function calculates  the  percent amount
  1267.      of a number. The [D%] (shown on XACT-12C as Greek letter "delta",
  1268.      a small triangle character) calculates the difference  in percent
  1269.      one number is from another,  and is used in percentage markup and
  1270.      discount calculations.   The  [%T]  calculates  the  percentage a
  1271.      number is of a total of numbers.
  1272.  
  1273.      Example:  Determine  the  total amount you would pay for a $39.95
  1274.      radio if the sales tax is 8.1%.
  1275.  
  1276.      Keystroke                 Display        Comment
  1277.      ================================================================
  1278.         39.95 [ENTER]          39.95
  1279.         8.1 [ % ]               3.24          Sales tax
  1280.         [ + ]                  43.19          Total paid.
  1281.  
  1282.      You would pay $43.19 including sales tax.
  1283.  
  1284.      Example: What is 20% of $3500.00?
  1285.  
  1286.      Keystroke                 Display        Comment
  1287.      ================================================================
  1288.         3500 [ENTER]           3500.00
  1289.         20 [ % ]               700.00
  1290.  
  1291.  
  1292.      Example: Gasoline prices fell last month from an average of $1.09
  1293.      to $.98.  What percent difference does this represent?
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.                                    - 23 -
  1300.      Keystroke                 Display        Comment
  1301.      ================================================================
  1302.         1.09 [ENTER]             1.09
  1303.         .98 [D%]               -10.09
  1304.  
  1305.      Gasoline prices have fallen 10.09%.
  1306.  
  1307.  
  1308.      Example:  If last year, you spent $640.00 on  gasoline  for  your
  1309.      car, $340.00 in insurance, and $448.00 in maintenance and repair,
  1310.      what  percentage of your total automotive  costs  were  spent  on
  1311.      gasoline?
  1312.  
  1313.      Keystroke                 Display        Comment
  1314.      ================================================================
  1315.         640 [ENTER]            640.00         Gasoline
  1316.         340 [ + ]              980.00         Plus insurance
  1317.         448 [ + ]             1428.00         Plus repair
  1318.         640 [%T]                44.82
  1319.  
  1320.      You spent nearly 45 percent on gasoline.
  1321.  
  1322.  
  1323.      6.4  Simple Interest
  1324.  
  1325.      Simple interest calculations involve calculations  where interest
  1326.      is not compounded over a number of periods but rather is a single
  1327.      fixed amount  over a fixed  period  of time.  Simple interest can
  1328.      be computed either using a 360 day year or a 365 day year.
  1329.  
  1330.      Example:    Suppose  you wish to compute the amount owed on a 180
  1331.      day loan of  $5000.00  computed using 12% simple interest. Assume
  1332.      that interest is calculated using a 360 day year.
  1333.  
  1334.      Keystroke                 Display        Comment
  1335.      ================================================================
  1336.      5000 [ChS] [PV]          -5,000.00       Loan amount
  1337.      180 [ N ]                   180.00       Loan period
  1338.      12 [ I ]                     12.00       Interest rate.
  1339.      [INT]                       300.00       Interest, 360 Day basis
  1340.      [ + ]                     5,300.00       Total amount
  1341.  
  1342.      The amount owed, including interest is 5,300.00.   If  you wished
  1343.      to compute the interest based on a 365 day year, you  would press
  1344.      the [R|] (roll down) key sequence after pressing [Int].
  1345.  
  1346.  
  1347.      6.5  Compound Interest
  1348.  
  1349.      Compound  interest calculations involve monies where interest  is
  1350.      computed at regular compounding periods.    A  compounding period
  1351.      may  be  a  day, month, year, etc.  The more  often  interest  is
  1352.      compounded, the greater  the  amount  of  interest  payment since
  1353.      interest is being earned/paid on interest.
  1354.  
  1355.  
  1356.                                    - 24 -
  1357.      XACT-12C uses the  [PV]  [FV]  [PMT]  [N]  and  [I]  registers in
  1358.      compound interest calculations.  Any  of  four  of  the variables
  1359.      must be known and the fifth one can then be calculated.
  1360.  
  1361.      In calculations where  the  compounding period is monthly and the
  1362.      length of annuity or interest rate are given  in  years, XACT-12C
  1363.      provides two convenient short cut function keys.   The  [12x] key
  1364.      is used  to  store  the  number of years and the [12/] is used to
  1365.      store the annual interest rate.
  1366.  
  1367.      In addition, the [Beg] and [End] function keys can  be  used  for
  1368.      when interest is to be compounded at the Beginning of  a compound
  1369.      period  (annuity  due),  or  at  the End of a compounding  period
  1370.      (ordinary annuity).  When first  loaded, XACT-12C is in End mode.
  1371.      To change to Begin mode, you would press the [Beg]  function key.
  1372.      When you do so, the letters "Beg" will be  shown  to the right of
  1373.      the display to remind you that  you  are in Begin mode. To change
  1374.      back to End mode, press [End].
  1375.  
  1376.      A number of  compound  interest  calculation  examples  are shown
  1377.      below.
  1378.  
  1379.  
  1380.      LOAN CALCULATIONS
  1381.  
  1382.      Example:  Suppose you  wish  to take out a home improvement loan.
  1383.      Calculate the monthly  payment  if  your  loan is for $7500 at 9%
  1384.      annual interest compounded monthly over 4 years.
  1385.  
  1386.      Keystroke                 Display        Comment
  1387.      ================================================================
  1388.      [Fin]                                    Clear finance registers
  1389.      7500 [PV]                 7,500.00       Store PV amount
  1390.      [End]                     7,500.00       Use "end" mode
  1391.      9 [12/]                       0.75       Interest rate/period
  1392.      4 [12x]                      48.00       Number of periods
  1393.      [PMT]                      -186.64       Monthly payment.
  1394.  
  1395.  
  1396.      Example:   How much could you afford to pay for a new car if  you
  1397.      could afford $300.00 monthly payments.  Assume a 4 year loan with
  1398.      6% interest compounded monthly.
  1399.  
  1400.      Keystroke                 Display        Comment
  1401.      ================================================================
  1402.      [Fin]                                    Clear finance registers
  1403.      300 [ChS] [PMT]           -300.00        Monthly payment
  1404.      6 [12/]                      0.50        Monthly interest rate
  1405.      4 [12x]                     48.00        Number of periods
  1406.      [PV]                    12,774.10        Purchase price
  1407.  
  1408.      You could afford to spend as much as $12,774.10 for your car.
  1409.  
  1410.  
  1411.  
  1412.  
  1413.                                    - 25 -
  1414.      Example:  Calculate the Annual Percentage Rate (APR) on a 20 year
  1415.      home loan of $125,000 at 9.5%  interest.   Assume the loan fee is
  1416.      1.5%.
  1417.  
  1418.      Keystroke                 Display        Comment
  1419.      ================================================================
  1420.      [Fin]                                    Clear registers
  1421.      [End]                                    End mode
  1422.      125000 [PV]            125,000.00        Amount of loan
  1423.      9.5 [12/]                    0.79        Monthly interest
  1424.      20 [12x]                   240.00        Number of months
  1425.      [PMT]                   -1,165.16        Monthly payment
  1426.      [Rcl] [PV]                   1.50
  1427.      [ % ] [ - ] [PV]       123,125.00        Amount less loan fee
  1428.      [ I ]                        0.81        Monthly interest
  1429.      12 [ * ]                     9.72        APR interest
  1430.  
  1431.      The APR interest rate is 9.72%.
  1432.  
  1433.  
  1434.      Example:  Suppose you  purchased  a home 7 years ago for $75,000.
  1435.      You have just sold the home for 124,000.    In  terms  of monthly
  1436.      compound interest rate, how much has the home appreciated?
  1437.  
  1438.      Keystroke                 Display        Comment
  1439.      ================================================================
  1440.      [Fin]                                    Clear finance registers
  1441.      [End]                                    End mode
  1442.      75000 [ChS] [PV]       -75,000.00        Purchase price
  1443.      124000 [FV]            124,000.00        Sell price
  1444.      7 [12x]                     84.00        Number of months
  1445.      [ I ]                        0.60        Monthly interest rate
  1446.      12 [ * ]                     7.20        Annual interest rate
  1447.  
  1448.      The home has appreciated at an annual rate of 7.2%.
  1449.  
  1450.  
  1451.      SAVINGS CALCULATIONS
  1452.  
  1453.      Example:  Suppose  you  presently  have  $9600  in  your  savings
  1454.      account.  You have just received a raise  and  are  able  to make
  1455.      monthly deposits of $400 into this account.  How long will  it be
  1456.      before  you  have  $17000 if your account  earns  6.50%  interest
  1457.      compounded quarterly?
  1458.  
  1459.      Keystroke                 Display        Comment
  1460.      ================================================================
  1461.      [Fin]                                    Clear finance registers
  1462.      9600 [ChS] PV            9,600.00        Beginning amount
  1463.      400 [ChS] [PMT]            400.00        Monthly deposit
  1464.      6.5 [ENTER] 4 [/] [I]        1.63        Interest rate per period
  1465.      17000 [FV]              17,000.00        Future value
  1466.      [ N ]                       13.00        Number of months
  1467.  
  1468.  
  1469.  
  1470.                                    - 26 -
  1471.      It would take 13 months to reach $17,000 in your account.
  1472.  
  1473.  
  1474.      Example:  How  much will you have to save each month in order  to
  1475.      have $3500 at the end  of  14  months.    Assume  you  make equal
  1476.      monthly  deposits  into  a new savings account  that  earns  5.5%
  1477.      interest compounded monthly.
  1478.  
  1479.      Keystroke                 Display        Comment
  1480.      ================================================================
  1481.      [Fin]                                    Clear finance registers
  1482.      3500 [FV]                3,500.00        Future value
  1483.      14 [N]                      14.00        14 periods
  1484.      5.5 [12/]                    0.46        Interest rate/period
  1485.      [PMT]                     -242.64        Monthly deposit
  1486.  
  1487.      You would have to save $242.64 per month.
  1488.  
  1489.  
  1490.      6.6  Amortization
  1491.  
  1492.      XACT-12C can produce  a  loan  amortization  schedule  using it's
  1493.      built  in  [AMORT]  function.     To   perform   an  amortization
  1494.      calculation, you must:
  1495.  
  1496.         1- Enter the loan amount, interest, and payment amount.
  1497.         2- Enter the number of payments to amortize and press
  1498.            [AMORT] to display the interest amount paid toward the loan.
  1499.         3- Press the [x<>y] function to display the principal amount paid
  1500.            toward the loan.
  1501.         4- Press [Rcl] [PV] to display the balance of the loan.
  1502.  
  1503.      Example:  Suppose you  have  purchased  an automobile for $23,000
  1504.      at 7.5% interest compounded monthly on  a  4 year loan.  Find the
  1505.      amount you will have  paid  in interest and principal on the loan
  1506.      after 10 months and after 20 months.
  1507.  
  1508.      Keystroke                 Display        Comment
  1509.      ================================================================
  1510.         [Fin]                                 Clear registers
  1511.         [End]                                 End mode
  1512.         23000 [PV]           23,000.00        Loan amount 7.5
  1513.         [12/]                     0.63        Interest per month
  1514.         4 [12x]                  48.00        Number of months
  1515.         [PMT]                  -556.11        Monthly payment
  1516.         10 [AMORT]           -1,319.57        Interest paid 10 mo.
  1517.         [x<>y]               -4,241.53        Principal paid 10 mo.
  1518.         [Rcl] [PV]           18,758.47        Balance
  1519.         10 [AMORT]           -1,046.90        Interest paid 20 mo.
  1520.         [x<>y]               -4,514.20        Principal paid 20 mo.
  1521.         [Rcl] [PV]           14,244.27        Balance 20 mo.
  1522.  
  1523.      After  10  months,  you would have paid  $1,319.57  in  interest,
  1524.      $4,241.53  in  principal,  and  have  a   remaining   balance  of
  1525.  
  1526.  
  1527.                                    - 27 -
  1528.      $18,758.47.  After 20 months, you would have  paid  an additional
  1529.      $1,046.90  in  interest,  $4,514.20  in  principal,  and  have  a
  1530.      remaining balance of $14,244.27.
  1531.  
  1532.  
  1533.      6.7  Net Present Value
  1534.  
  1535.      The [NPV] function calculates the net present value  of  a series
  1536.      of cash flows, made at regular intervals.  It  is  most  commonly
  1537.      used  to perform  an analysis between  a  variety  of  investment
  1538.      opportunities.     A  negative  NPV  represents  a  loss  on  the
  1539.      investment.
  1540.  
  1541.      Example:  Suppose that you wanted to buy a business  for $150,000
  1542.      and sell it after 4 years.  If you project  that  your cash flows
  1543.      will be -7,500 after  the  first  year,  $9,000 after the second,
  1544.      $28,000 after the  third,  and finally $164,000 after the fourth,
  1545.      would you be receiving at least 12% return?
  1546.  
  1547.      Keystroke                 Display        Comment
  1548.      ================================================================
  1549.         [Reg]                                 Clear registers
  1550.         150000 [ChS] [CFo]    -150,000.00     Initial cash outlay
  1551.         7500 [ChS] [CFj]         7,500.00     1st cash flow
  1552.         9000 [CFj]               9,000.00     2nd cash flow
  1553.         28000 [CFj]             28,000.00     3rd cash flow
  1554.         164000 [CFj]           164,000.00     4th cash flow
  1555.         12 [ I ]                    12.00     Desired interest rate
  1556.         [NPV]                  -11,974.01     Net Present Value.
  1557.  
  1558.  
  1559.      Since the result is a negative number, the desired 12% rate would
  1560.      not be achieved.
  1561.  
  1562.      The [Nj] function can be used when there are a number of times in
  1563.      which the same cash flow occurs.
  1564.  
  1565.      Example:    Suppose  you are considering purchasing  a  hotel  in
  1566.      Colorado  for  an  initial payment of $110,000.  You predict that
  1567.      cash flows for the first 2 years be $45,000  each  year,  $55,000
  1568.      for the third year and $60,000 for the fourth year.  You desire a
  1569.      20% return on investment.  Can this amount be realized?
  1570.  
  1571.      Keystroke                 Display        Comment
  1572.      ================================================================
  1573.      [Reg]                                    Clear registers
  1574.      110000 [ChS] [CFo]      -110,000.00      Initial cash outlay
  1575.      45000 [CFj]               45,000.00
  1576.      2 [Nj]                         2.00      1st and 2nd cash flow
  1577.      55000 [CFj]               55,000.00      3rd cash flow
  1578.      60000 [CFj]               60,000.00      4th cash flow
  1579.      20 [ I ]                      20.00      Interest rate
  1580.      [NPV]                     19,513.89      Net Present Value
  1581.  
  1582.  
  1583.  
  1584.                                    - 28 -
  1585.      The NPV for the hotel is positive, thus the investment will yield
  1586.      the desired result.
  1587.  
  1588.  
  1589.      6.8  Internal Rate of Return
  1590.  
  1591.      The internal rate of return is a discount rate which  equates the
  1592.      present value of the expected cash outlays with the present value
  1593.      of expected cash income.  It is the rate of return  an investment
  1594.      is expected to return.
  1595.  
  1596.      Example:  Calculate the  Internal  Rate  of  Return for the above
  1597.      example.
  1598.  
  1599.      Keystroke                 Display        Comment
  1600.      ================================================================
  1601.      [IRR]                       28.60        Internal rate of return
  1602.  
  1603.  
  1604.      The investment will yield a 28.6% return.
  1605.  
  1606.  
  1607.      Example:    An  investment in a startup  technology  business  is
  1608.      projected to  involve negative cash flows of $30,000, $50,000 and
  1609.      $70,000  for  the  first three years, and finally a positive cash
  1610.      flow of $180,000 for  the  fourth  year.   Calculate the internal
  1611.      rate of return, the return on the investment.
  1612.  
  1613.      Keystroke                 Display        Comment
  1614.      ================================================================
  1615.      [Reg]                                    Clear registers
  1616.      30000 [ChS] [CFo]       -30,000.00       1st cash flow
  1617.      50000 [ChS] [CFj]       -50,000.00       2nd cash flow
  1618.      70000 [ChS] [CFj]       -70,000.00       3rd cash flow
  1619.      180000 [CFj]            180,000.00       4th cash flow
  1620.      [IRR]                        10.89       IRR
  1621.  
  1622.      The investment would yield a 10.89% return after 4 years.
  1623.  
  1624.  
  1625.  
  1626.      7.  Bond Calculations
  1627.  
  1628.  
  1629.      7.1  Bond Yield
  1630.  
  1631.      The [Price] and [YTM] functions  calculate the price and yield to
  1632.      maturity of a semi-annual  coupon  bond.   Using these functions,
  1633.      calculations are done using a par value of 100.
  1634.  
  1635.      Example:  If you are interested in purchasing an 8.5% semi-annual
  1636.      coupon  bond  at 94 1/2.  Determine  the  yield  this  bond  will
  1637.      produce if you purchase it on November 15, 1987 and it matures on
  1638.      April 7, 1996.
  1639.  
  1640.  
  1641.                                    - 29 -
  1642.      Keystroke                 Display        Comment
  1643.      ================================================================
  1644.      [M.DY]                                   Mon/Day/Yr format
  1645.      8.5 [PMT]                   8.50         Coupon rate
  1646.      94.5 [PV]                  94.50         Bond price
  1647.      11.151987 [ENTER]          11.15         Purchase date
  1648.      4.071996 [YTM]              9.46         Yield
  1649.  
  1650.      The bond would yield 9.46%.
  1651.  
  1652.  
  1653.      7.2  Bond Price
  1654.  
  1655.      Example:    Assume  you desire a yield of 8.75% on  a  bond  that
  1656.      reaches  maturity  on  August 4, 1998.  If the bond  is  a  7.25%
  1657.      Treasury bond, how much should you pay for the bond on October11,
  1658.      1988?
  1659.  
  1660.      Keystroke                 Display        Comment
  1661.      ================================================================
  1662.      [M.DY]                                   Mon/Day/Yr format
  1663.      7.25 [PMT]                  7.25         Coupon rate
  1664.      8.75 [ I ]                  8.75         Desired yield
  1665.      10.111988 [ENTER]          10.11         Purchase date
  1666.      8.041998 [Price]           90.24         Compute price
  1667.  
  1668.      You should pay $90.24.
  1669.  
  1670.  
  1671.      8.  Statistical Calculations
  1672.  
  1673.  
  1674.      XACT-12C  can  perform  common statistical calculations including
  1675.      mean and standard deviation using it's built-in  capabilities. In
  1676.      addition, programs can be written to perform  complex statistical
  1677.      analysis.
  1678.  
  1679.  
  1680.      8.1  Entering and Removing Numbers
  1681.  
  1682.      The [S+] (Greek "sigma" character followed by a '+') function key
  1683.      is used to enter  a  new  number  into the statistical registers.
  1684.      XACT-12C can be used to perform statistical operations using both
  1685.      one and two variables.  When using one variable, that variable is
  1686.      referred to as the  X  variable.  With two variable analysis, the
  1687.      second variable is referred to as the Y variable.
  1688.  
  1689.      When entering  single variable numbers, enter the number and then
  1690.      press the [S+] function  key.    Continue  this process until all
  1691.      numbers have been entered.
  1692.  
  1693.      With two variables,  first  key  in  the Y variable and press the
  1694.      [ENTER] key, then enter the X variable and press the [S+] key.
  1695.  
  1696.  
  1697.  
  1698.                                    - 30 -
  1699.      When the [S+] function key is used, memory registers 1  through 6
  1700.      will  hold  intermediate  values.  You can use the [Rcl] function
  1701.      key to view these values, or to use them within  a  program.  The
  1702.      values contained in registers 1 through 6 are summarized below:
  1703.  
  1704.  
  1705.         R1 contains the value N, the number of data values
  1706.            or data pairs) entered thus far.
  1707.         R2 contains the sum of the X values.
  1708.         R3 contains the sum of the squares of the X values.
  1709.         R4 contains the sum of the Y values.
  1710.         R5 contains the sum of the squares of the Y values.
  1711.         R6 contains the sum of the products of the X values
  1712.            and the Y values.
  1713.  
  1714.      To  remove an incorrectly entered value, you  can  use  the  [S-]
  1715.      function key.  Simply re-enter the incorrect value and then press
  1716.      the [S-] function key.
  1717.  
  1718.  
  1719.      8.2  Statistical Mean
  1720.  
  1721.      Example: Suppose you are a  teacher  with  5  students. Student's
  1722.      scores on their  last test were 80, 63, 77, 94, and 79.  Find the
  1723.      mean of the test results.
  1724.  
  1725.  
  1726.  
  1727.  
  1728.      Keystroke                 Display        Comment
  1729.      ================================================================
  1730.      [S]                                      Clear statistics
  1731.      80 [S+]                    1.00          1st score
  1732.      63 [S+]                    2.00          2nd score
  1733.      77 [S+]                    3.00          3rd score
  1734.      94 [S+]                    4.00          4th score
  1735.      79 [S+]                    5.00          5th score
  1736.      [xbar]                    78.60          Mean
  1737.  
  1738.      The mean of the test scores is 78.6.
  1739.  
  1740.  
  1741.      8.3  Statistical Weighted Mean
  1742.  
  1743.      Data for  statistical  weighted  mean  calculations  are  entered
  1744.      similarly to data for other 2  variable  statistical calculations
  1745.      except  that  the  [x  w]  function  key  is  used to compute the
  1746.      weighted mean.
  1747.  
  1748.      Example:  Find the  average  cost per minute of your monthly long
  1749.      distance calls if you were charged for the  following:  3 minutes
  1750.      for $0.35 per minute, 13 minutes for $0.70 per minute,  9 minutes
  1751.      for $0.56 per minute, and 4 minutes for $0.98 per minute.
  1752.  
  1753.  
  1754.  
  1755.                                    - 31 -
  1756.      Keystroke                 Display        Comment
  1757.      ================================================================
  1758.      [S]                                      Clear registers
  1759.      .35 [ENTER]                 0.35
  1760.      3 [S+]                      1.00         First charge
  1761.      .70 [ENTER]                 0.70
  1762.      13 [S+]                     2.00         Second charge
  1763.      .56 [ENTER]                 0.56
  1764.      9 [S+]                      3.00         Third charge
  1765.      .98 [ENTER]                 0.98
  1766.      4 [S+]                      4.00         Fourth charge
  1767.      [x w]                       0.66         Weighted mean
  1768.  
  1769.      You paid  an  average  of  66  cents  per minute in long distance
  1770.      charges.
  1771.  
  1772.  
  1773.      8.4  Standard Deviation
  1774.  
  1775.      XACT-12C can be used to  calculate the standard deviation of both
  1776.      x and y variables using the [S] function key.
  1777.  
  1778.      Example:   Assume  a  set  of  students  test scores for math and
  1779.      English tests are as follows:
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.      Student       Math      English
  1786.      ===============================
  1787.        1            59         64
  1788.        2            66         69
  1789.        3            88         82
  1790.        4            70         51
  1791.  
  1792.      Calculate the standard deviation for the students results.
  1793.  
  1794.      Keystroke                 Display        Comment
  1795.      ================================================================
  1796.      [S]                                      Clear registers
  1797.      59 [ENTER] 64 [S+]         1.00          1st student
  1798.      66 [ENTER] 69 [S+]         2.00          2nd student
  1799.      88 [ENTER] 82 [S+]         3.00          3rd student
  1800.      70 [ENTER] 51 [S+]         4.00          4th student
  1801.      [S]                        12.82         Math standard deviation
  1802.      [x<>y]                     12.37         English std. deviation
  1803.  
  1804.      The standard deviation for  the  student's  math scores was 12.82
  1805.      and for the English scores was 12.37.
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.                                    - 32 -
  1813.      8.5  Linear Estimate
  1814.  
  1815.      Using values entered  for  x  and  y variables, you can compute a
  1816.      "best  guess"  for  either variable, given a sample value for the
  1817.      other one.
  1818.  
  1819.      Example:  Using the above data for student  test  scores, compute
  1820.      an estimate for a student's  English score given that the student
  1821.      has a math score of 80.  Compute the correlation  coefficient for
  1822.      this value.
  1823.  
  1824.      Keystroke                 Display        Comment
  1825.      ================================================================
  1826.      80 [y,r]                   78.87         Math score estimate
  1827.      [x<>y]                      0.62         Correlation Coefficient
  1828.  
  1829.  
  1830.  
  1831.      9.  Calendar Calculations
  1832.  
  1833.  
  1834.      9.1  Days between Dates
  1835.  
  1836.      XACT-12C can compute the number of days between 2 dates using the
  1837.      [DDays] and future or past date given a number of days  using the
  1838.      [Date] function.  These functions  can  be  utilized  in compound
  1839.      interest    calculations   as   well  as  bond  price  and  yield
  1840.      calculations.
  1841.  
  1842.      Example:  Compute  the  number  of  days between July 4, 1987 and
  1843.      October 31, 1987.
  1844.  
  1845.      Keystroke                 Display        Comment
  1846.      ================================================================
  1847.      7.041987 [ENTER]           7.04          First date
  1848.      10.311987                 10.311987      Second date
  1849.      [DDays]                  119.00          Days between dates
  1850.  
  1851.      There are 119.00 days between these 2 dates.
  1852.  
  1853.      XACT-12C   can   also  perform  date   calculations   using   the
  1854.      Day/Month/Year format.  To use  this  format,  press  [d.my]. The
  1855.      calculator will display D.MY on the right of the screen to remind
  1856.      you that you're using this format.  To  return  to Month/Day/Year
  1857.      format, press [M.DY].
  1858.  
  1859.  
  1860.      9.2  Date Calculations
  1861.  
  1862.      Example:   What  will  the  date be 178 days from now if today is
  1863.      July 19, 1988?.
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.                                    - 33 -
  1870.      Keystroke                 Display        Comment
  1871.      ================================================================
  1872.      [D.MY]                                   Day/Mon/Yr format
  1873.      19.071988 [ENTER]          19.07         First date
  1874.      178 [Date]                 13,1,1989 5   Future date
  1875.  
  1876.      The date  will  be  January  13, 1989.  It will fall on a Friday.
  1877.      (The   last  digit  indicates  the  day   of   the   week,   i.e.
  1878.      0=Sunday,1=Monday, etc.).
  1879.  
  1880.      Example: On what day were you born if your  birthday  was  August
  1881.      27, 1958?
  1882.  
  1883.      Keystroke                 Display        Comment
  1884.      ================================================================
  1885.      [M.DY]                                   Mon/Day/Yr format
  1886.      8.271958 [ENTER]         8.27
  1887.      0 [Date]                 8,27,1958 3     Wednesday
  1888.  
  1889.  
  1890.  
  1891.      10.  Programming
  1892.  
  1893.  
  1894.      10.1  Introduction to Programming
  1895.  
  1896.      Programming  XACT-12C  is  a  process  whereby  you  "teach"  the
  1897.      calculator a series of keystrokes, similar to the  way  you would
  1898.      normally enter the keystrokes if  you  were  computing  a problem
  1899.      manually.  In addition,  you  can  have  a program take different
  1900.      actions in a program  based  upon  values contained in registers.
  1901.      For example, the program could  take a different course of action
  1902.      if the value contained in the X register is less-than-or-equal-to
  1903.      the value  in  the  Y  register.    This is known as "conditional
  1904.      branching".    Programming  also  allows  you  to   repeat  given
  1905.      keystroke sequences a certain number of times. This  is  known as
  1906.      "looping".
  1907.  
  1908.      If  you  are  interested  in  advanced  programming  features  of
  1909.      XACT-12C,  we  suggest  you  obtain  a copy of the HP-12C Owner's
  1910.      Handbook and Problem   Solving  Guide  and  optionally any of the
  1911.      other manuals which were mentioned  earlier in Chapter 1.2.
  1912.  
  1913.  
  1914.      10.2  Entering a Program into XACT-12C
  1915.  
  1916.      To begin entering a new  program  into  XACT-12C,  the calculator
  1917.      must be placed in  Program  mode  by  pressing the [P/R] function
  1918.      key.   When in program mode,  subsequent  keystrokes  are  simply
  1919.      stored in the calculator's internal memory. The [P/R] key toggles
  1920.      between program and run modes.
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.                                    - 34 -
  1927.      Keystroke                 Display        Comment
  1928.      ================================================================
  1929.      [P/R]                     00-            Program mode
  1930.      [P/R]                     (as before)    Run mode.
  1931.  
  1932.      When first entering program mode,  the  display  shows  the value
  1933.      00-.  This  represents  the current program line  number  of  the
  1934.      program you are entering.  Line 00- is special in that  it always
  1935.      represents the beginning of program memory.  Let's  enter  a very
  1936.      simple program:
  1937.  
  1938.      Keystroke                 Display        Comment
  1939.      ================================================================
  1940.      [P/R]                   00-               Program mode
  1941.      [Prgm]                  00-               Clear program memory
  1942.      1                       01-        1
  1943.      0                       02-        0
  1944.      [ENTER]                 03-       36
  1945.      4                       04-        4
  1946.      [ + ]                   05-       10
  1947.      [P/R]                                      Run mode
  1948.  
  1949.      The  program simply adds the numbers 10+4  and  finishes.    When
  1950.      XACT-12C  is in program mode, the numbers to  the  right  of  the
  1951.      program line are a code which represents which  key  was pressed.
  1952.      The first digit of the number indicates the row  and  the  second
  1953.      indicates the column  of  where  the  key  is  positioned  on the
  1954.      XACT-12C screen.   If  you  think  of  all the  keystrokes on the
  1955.      calculator face as being in a  table  with 4 rows and 10 columns,
  1956.      each key can be identified as being in a certain row  and column.
  1957.      For  example the [ENTER] key is located in Row 3, Column 6.  Thus
  1958.      in  instruction  line  03-    the display contains the value  36.
  1959.      Likewise the [ + ] key is in  row  4,  column  10, so the display
  1960.      shows 40.]
  1961.  
  1962.      To run the program:
  1963.  
  1964.      Keystroke                 Display        Comment
  1965.      ================================================================
  1966.      [R/S]                     14.00          Program result
  1967.  
  1968.  
  1969.      As  a  more  practical example, we  will  write  a  program  that
  1970.      converts  a  nominal  interest  rate  into  an  effective  annual
  1971.      interest  rate.    To  use  the  program,  enter  the  number  of
  1972.      compounding periods per year  in  memory  1, the nominal interest
  1973.      rate in memory 2, and run the program by pressing [R/S].
  1974.  
  1975.      Keystroke                 Display        Comment
  1976.      ================================================================
  1977.      [P/R]                                    Switch to program mode
  1978.      [Prgm]                   00-             Clear program
  1979.      [Fin]                    01-   42  34    Clear fin. registers.
  1980.      [Rcl] 2                  02-   45   2    Recall interest rate
  1981.  
  1982.  
  1983.                                    - 35 -
  1984.      [Rcl] 1                  03-   45   1    Recall compound interval
  1985.      [ N ]                    04-       11    Store in N register
  1986.      [ / ]                    05-       40    Divide
  1987.      [ I ]                    06-       12    Store int. rate per
  1988.                                               compounding period
  1989.      1                        07-        1
  1990.      0                        08-        0
  1991.      0                        09-        0
  1992.      [Chs]                    10-       16
  1993.      [ENTER]                  11-       36
  1994.      [PV]                     12-       13    Set PV to -100
  1995.      [FV]                     13-       15    Compute FV
  1996.      [ + ]                    14-       10
  1997.      [P/R]                                    Return to Run mode
  1998.  
  1999.      For example, assume you wanted to compute the effective rate of a
  2000.      savings account that earned 6 7/8% compounded semi-annually.
  2001.  
  2002.      Keystroke                 Display        Comment
  2003.      ================================================================
  2004.      7 [ENTER]                  7.00
  2005.      8 [ / ]                    0.88
  2006.      6 [ + ]                    6.88
  2007.      [Sto] 2                    6.88          Nominal interest rate
  2008.      2 [Sto] 1                  2.00          Compounding interval
  2009.      [R/S]                      6.99          Effective Rate is 6.99%
  2010.  
  2011.  
  2012.      10.3  Program Loops and Branches
  2013.  
  2014.      XACT-12C can make "conditional tests" based upon values contained
  2015.      in  the  X  and Y registers.    When  running  a  program,  these
  2016.      functions will execute the next instruction in the program if the
  2017.      condition is true, and skip over it if the  condition  is  false.
  2018.      The instructions are defined as
  2019.  
  2020.  
  2021.  
  2022.         [x<=y]      true if x less than or equal to y
  2023.         [x=0]       true if x equals 0
  2024.  
  2025.      For example, you could execute  a series of instructions within a
  2026.      loop using the above conditional tests.  The  example  below adds
  2027.      the  numbers  1  through 5 in a loop, stores the result in memory
  2028.      register 1 and then finishes.
  2029.  
  2030.      Keystroke                 Display        Comment
  2031.      ================================================================
  2032.      [P/R]                                    Programming mode
  2033.      [Prgm]                   00-             Clear program
  2034.      0                        01-         0
  2035.      [Sto] 1                  02-      44 1   Clear register 1
  2036.      5                        03-         5   Start with 5
  2037.      [Sto] [ + ] 1            04-   44 40 1   Add to Memory 1
  2038.  
  2039.  
  2040.                                    - 36 -
  2041.      1                        05-         1   Decrement
  2042.      [ - ]                    06-        30
  2043.      [x=0]                    07-     43 35   Test for 0
  2044.      [R/S]                    08-        31   Done
  2045.      [Gto] 04                 08-  43 33 04
  2046.      [P/R]
  2047.  
  2048.      When the program is run, the resulting answer  will  be contained
  2049.      in memory register 1.
  2050.  
  2051.  
  2052.  
  2053.      11.  Appendix
  2054.  
  2055.  
  2056.      11.1  Error Conditions
  2057.  
  2058.      When an error  is  encountered  during  operation,  XACT-12C will
  2059.      display the word "Error" in the calculator's display, followed by
  2060.      a 1 digit error code.  These error codes are defined below:
  2061.  
  2062.  
  2063.      Error  0    -  Invalid math operation.  This error is encountered
  2064.      when an operation  attempted  division  by  0, a square root of a
  2065.      negative number, or other invalid math operation.
  2066.  
  2067.      Error  1    -    Out-of-Bounds Storage register operation.   This
  2068.      happens if a storage  register  operation  overflows the range of
  2069.      the calculator.
  2070.  
  2071.      Error 2  -  Invalid Statistical operation.    This  happens  if a
  2072.      statistical operation cannot be performed or is out of range, for
  2073.      instance taking the mean of 0 numbers.
  2074.  
  2075.      Error  3  -  IRR.   This  error  happens  if  an  IRR  cannot  be
  2076.      performed or has ambiguous data.
  2077.  
  2078.      Error 4  -  Memory range  overflow.    This  error  occurs  if an
  2079.      attempt has been made to access an out-of-range memory location.
  2080.  
  2081.      Error 5  -  Invalid interest operation.    This  error  occurs if
  2082.      invalid or ambiguous input data  was used to calculate a compound
  2083.      interest result, for instance  if  all  cash  flows have the same
  2084.      sign.
  2085.  
  2086.      Error 6    -    Invalid storage register.  This error occurs if a
  2087.      storage register is invalid, or if N or N20 when  calculating NPV
  2088.      or IRR.
  2089.  
  2090.      Error 7  -  IRR.    The  IRR calculation cannot be performed with
  2091.      the given input data.
  2092.  
  2093.      Error 8  -  Invalid calendar calculation.  A date is out of range
  2094.      or in an ambiguous format.
  2095.  
  2096.  
  2097.                                    - 37 -