home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / MATH / XACT51.ZIP / X12.DOC < prev    next >
Encoding:
Text File  |  1991-02-01  |  82.3 KB  |  2,097 lines

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