home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / a / db2irr10.lbr / DB2IRR.DZC / DB2IRR.DOC
Encoding:
Text File  |  1993-10-26  |  3.4 KB  |  74 lines

  1.                         DB2IRR.CMD
  2.                 by
  3.                Charles I. Hart
  4.              February 13, 1985
  5.                 Version 1.0
  6.  
  7.  
  8. NOTE:  This program is a demonstration of one method to find the Internal
  9.        Rate of Return using dBASE II ((c) Ashton-Tate) version 2.41. This
  10.        program has not been tested with other versions of dBASE II and may
  11.        not work properly under other versions.  Further, correct opperation
  12.        of this program is not guaranteed.  USE THIS PROGRAM AT YOUR RISK!
  13.  
  14.        This program is released into to public domain in response to a specific
  15.        request for a program that performed the Internal Rate of Return
  16.        Calculation.  Please feel free to make modification, additions, etc.
  17.        I only ask that if you find a 'feature' that you did not expect, please
  18.        let me know on PCS-47 in Compuserve under PPN 72755,500.
  19.  
  20.  
  21. O.K., what does it do?
  22.  
  23. Recall that one defination of Internal Rate of Return is that percentage rate
  24. used to discount to the present the individual Cash Flows provided by the user
  25. which causes the Net Present Value of the series of Cash Flows to equal Zero.
  26. Because of excessive processing time, this program does not attempt to find 
  27. the absolute correct IRR.  Rather, a Figure of Merit is chosen something larger
  28. than zero and the calculation stops when the NPV becomes less than this value.
  29.  
  30. In its' simplest form, this program takes your cash flows by year (important -
  31. no provision is made for other time periods!) and advises you of their Internal
  32. Rate of Return.  Let us assume that you buy a house to lease, with the total
  33. price to be paid up front in cash and each lease payment from the occupant to
  34. be paid at the end of each year in cash.  (Yes, these are simple assumptions,
  35. but that's what the program assumes to prevent the program from being 30k.)
  36. Further, let us assume that you keep the house for 5 years and sell it for
  37. just what you paid.  If the purchase price of the house were $50,000 and the
  38. annual lease $5,000, you would have the following 'CASH FLOW':
  39.  
  40. Cash Outflow       
  41.     Number of Outflows    1 (Program can handle more, but we are being
  42.                                    very simple here.)
  43.  
  44.     Cash Outflow No. 1    50000 (In this program is entered as positive
  45.                                        and converted in the file to correct 
  46.                                        convention. Note that no dollar sign
  47.                                        or comma is entered.)
  48.  
  49.  
  50. Cash Inflow
  51.     Number of Inflows          5 
  52.  
  53.     Cash Inflow No. 1..4    5000 (Enter one value per year.)
  54.     Cash Inflow No. 5     55000  (One Lease Payment plus Sale of the House)
  55.  
  56. The Program will then iterate (repeat using closer and closer values to the
  57. correct IRR) until the Net Present Value found is less than the Figure of
  58. Merit used.
  59.  
  60.  
  61. Known 'Features' (Sometimes called BUGS)
  62.  
  63. There is a problem with small cash flows - less than $100 Cash Outflow, say -
  64. in that the processing time becomes very long and the scaling factors used
  65. to reduce the incremental rate become too large.
  66.  
  67. The disk access to the dBASE program on my system is excessive.  I expected
  68. the access to the data disk to be high because of the implementation, but
  69. I don't understand the system disk activity.  Anybody figure a way around this,
  70. please let me know.
  71.  
  72. Good Luck.....
  73.  
  74.