home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / lotus123 / 123train.arc / FNS.HDT < prev    next >
Text File  |  1985-10-15  |  11KB  |  460 lines

  1. .mb5
  2. .mt1
  3. 
  4.  
  5.      Thσ ideß oµ presen⌠ valuσ i≤ illustrateΣ iε thσ followinτ ì
  6. short example:
  7.  
  8.      WhicΦ woulΣ yo⌡ rathe≥ have¼ $10░ ß yea≥ fo≥ threσ year≤ o≥ ì
  9. $248.6╣ righ⌠ now┐  Iµ yo⌡ assumσ aε interes⌠ ratσ oµ 10%¼ yo⌡ ì
  10. shoulΣ bσ indifferent«  Iε othe≥ words¼ thσ presen⌠ valuσ oµ $10░ ì
  11. pe≥ yea≥ fo≥ │ year≤ i≤ onl∙ $248.69.
  12.  
  13.  
  14. Alternative 1 -- put $248.69 in the bank at 10% interest:
  15.  
  16.   year         balance
  17.  
  18. ááááá░         248.69
  19. ááááá▒         248.6╣ ½ 24.8╖ ╜ 273.56
  20. ááááá▓         273.5╢ ½ 27.3╢ ╜ 300.92
  21. ááááá│         300.9▓ ½ 30.0╣ ╜ 331.01
  22.  
  23.  
  24. Alternativσ ▓ -- receivσ $10░ pe≥ yea≥ fo≥ │ years║ 
  25.  
  26. ááyear         balance
  27.  
  28. ááááá░         0
  29. ááááá▒         100
  30. ááááá▓         10░ ½ 10░ ½ 1░ ╜ 210
  31. ááááá│         10░ ½ 21░ ½ 2▒ ╜ 331
  32.  
  33. Eithe≥ way¼ yo⌡ havσ $33▒ iε you≥ accoun⌠ a⌠ thσ enΣ oµ thσ thirΣ ì
  34. year (allowing for roundoff error).
  35.  
  36.      Wha⌠ woulΣ happeε t∩ thi≤ examplσ iµ thσ interes⌠ ratσ werσ ì
  37. changed to zero?  What would happen if it were changed to 20%
  38. .paè     Herσ arσ summarie≤ oµ thσ format≤ oµ thσ function≤ wσ havσ ì
  39. seen«  Notσ tha⌠ ╔ havσ useΣ space≤ fo≥ legibility¼ bu⌠ the∙ ì
  40. shoulΣ no⌠ bσ useΣ iε 123.
  41.  
  42.  
  43. @SUM (<range to be added>)
  44.  
  45.  
  46.  
  47. @AVG (<range to be averaged>)
  48.  
  49.  
  50.  
  51. @MIN (<range to search for smallest value>)
  52.  
  53.  
  54.  
  55. @STD (<range to compute standard deviation over>)
  56.  
  57.  
  58.  
  59.  
  60.  
  61. @I╞ (<conditiona∞ expression>¼ <formulß iµ true>¼ <formulß iµ false>)
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. @IRR (<formula with guess>, <income stream range>)
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75. @NPV (<interest rate formula>, <income stream range>)
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. @VLOOKU╨ (<argumen⌠ formula>¼ <tablσ range>¼ <formulß witΦ the offse⌠ ì
  83.                                              oµ the returneΣ value>)
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90. @DAVG (<data table range>, <offset formula>, <criterion range> 
  91. .paè     This example illustrates a few functions.
  92.  
  93.             Numbers:          Functions:
  94.  
  95.                    2               110 total
  96.                    4                11 average
  97.                    6                 2 smallest
  98.                    8          5.744562 standard deviation
  99.                   10
  100.                   12
  101.                   14
  102.                   16
  103.                   18
  104.                   20
  105.  
  106.      Try changing the numbers in A5 through A15,
  107.      then check the formulii in C5 through C8.
  108.  
  109.  
  110. -----
  111.  
  112.  
  113.         This example illustrates conditional evaluation
  114.      using the IF function.  Try changing the numbers in
  115.      cells A27 and A28.  Can you figure out what is
  116.      happening to A30, when you do that?  Look at A30 to
  117.      see how it was done.
  118.  
  119.                   22
  120.                   44
  121.  
  122.                   44
  123.  
  124.  
  125. -----
  126.  
  127.  
  128.      This example calculates the internal rate of return of a ten-year
  129.      investment.
  130.  
  131.            $1,000.00  investment amount
  132.              $250.00  annual payout
  133.  
  134.                 21.4% internal rate of return
  135.  
  136.  
  137.           ($1,000.00)
  138.              $250.00
  139.              $250.00
  140.              $250.00
  141.              $250.00
  142.              $250.00
  143.              $250.00
  144.              $250.00
  145.              $250.00
  146.              $250.00
  147.              $250.00
  148. .paè     This example calculates the present value of a ten-year income stream.
  149.  
  150.  
  151.              $250.00  annual income
  152.                 10.0% interest rate
  153.  
  154.            $1,536.14  present value
  155.  
  156.  
  157.  
  158.              $250.00
  159.              $250.00
  160.              $250.00
  161.              $250.00
  162.              $250.00
  163.              $250.00
  164.              $250.00
  165.              $250.00
  166.              $250.00
  167.              $250.00
  168.  
  169. -----
  170.  
  171.  
  172.  
  173.  
  174.      This example calculates the present value of a ten-year investment.
  175.  
  176.            $1,000.00  investment amount
  177.              $250.00  annual payout
  178.                 10.0% interest rate
  179.  
  180.              $487.40  present value
  181.  
  182.  
  183.           ($1,000.00)
  184.              $250.00
  185.              $250.00
  186.              $250.00
  187.              $250.00
  188.              $250.00
  189.              $250.00
  190.              $250.00
  191.              $250.00
  192.              $250.00
  193.              $250.00
  194.  
  195. .paè          This example uses both @NPV and @IRR and a more complex
  196.      example of the @IF function.
  197.  
  198.  
  199.            $1,000.0░  investmen⌠ amoun⌠         -1.4E-1│ p.v« a⌠ A10╖ percent
  200.              $250.00  annual payout
  201.                 21.4% internal rate of return          0 better looking
  202.  
  203.  
  204.           ($1,000.00)
  205.              $250.00
  206.              $250.00
  207.              $250.00
  208.              $250.00
  209.              $250.00
  210.              $250.00
  211.              $250.00
  212.              $250.00
  213.              $250.00
  214.              $250.00
  215.  
  216. -----
  217.  
  218.  
  219.  
  220.      This example illustrates a table lookup function.
  221.  
  222.      Income:            25000
  223.      Rate:                 10%
  224.  
  225.              Tax Rate Table
  226.  
  227.            Income        Rate
  228.  
  229.                $0.00        0%
  230.           $10,000.00        5%
  231.           $20,000.00       10%
  232.           $30,000.00       15%
  233.           $40,000.00       20%
  234.           $50,000.00       25%
  235.           $60,000.00       30%
  236.           $70,000.00       35%
  237.           $80,000.00       40%
  238.           $90,000.00       45%
  239.          $100,000.00       50%
  240. .paè        This function is more complex.  Try changing the "sex" in
  241.      F145 and see what happens to the average "amount."
  242.  
  243.      NAME                        SEX     AMOUNT          SEX
  244.      John Press                   m          12          m
  245.      Roberto Lastrico             m          22
  246.      Natalia Lastrico             f          30
  247.      Samantha Press               f         100
  248.      Carla Lastrico               f         200
  249.      Thomas Lasorda               m          12
  250.      Evelyn Ashford               f         300
  251.      Mary Decker                  f         400
  252.      Carl Lewis                   m          21
  253.      Edwin Moses                  m          18
  254.      William Banks                m          11
  255.  
  256.      average                                 16
  257.  
  258. .paè     A1: 'This example illustrates a few functions.
  259.      A3: "Numbers:
  260.      C3: 'Functions:
  261.      A5: U 2
  262.      C5: @SUM(A5..A14)
  263.      D5: 'total
  264.      A6: U 4
  265.      C6: @AVG(A5..A14)
  266.      D6: 'average
  267.      A7: U 6
  268.      C7: @MIN(A5..A14)
  269.      D7: 'smallest
  270.      A8: U 8
  271.      C8: @STD(A5..A14)
  272.      D8: 'standard deviation
  273.      A9: U 10
  274.      A10: U 12
  275.      A11: U 14
  276.      A12: U 16
  277.      A13: U 18
  278.      A14: U 20
  279.      A16: 'Try changing the numbers in A5 through A15,
  280.      A17: 'then check the formulii in C5 through C8.
  281.  
  282. -----
  283.  
  284.  
  285.  
  286.      A21: '   This example illustrates conditional evaluation
  287.      A22: 'using the IF function.  Try changing the numbers in
  288.      A23: 'cells A27 and A28.  Can you figure out what is
  289.      A24: 'happening to A30, when you do that?  Look at A30 to
  290.      A25: 'see how it was done.
  291.      A27: U 22
  292.      A28: U 44
  293.      A30: @IF(A27>A28,A27,A28)
  294.      A41: 'This example calculates the internal rate of return of a ten-year
  295.      A42: 'investment.
  296.      A44: (C2) U 1000
  297.      B44: ' investment amount
  298.      A45: (C2) U 250
  299.      B45: ' annual payout
  300.      A47: (P1) @IRR(0.1,A50..A60)
  301.      B47: ' internal rate of return
  302.      A50: (C2) -A44
  303.      A51: (C2) +$A$45
  304.      A52: (C2) +$A$45
  305.      A53: (C2) +$A$45
  306.      A54: (C2) +$A$45
  307.      A55: (C2) +$A$45
  308.      A56: (C2) +$A$45
  309.      A57: (C2) +$A$45
  310.      A58: (C2) +$A$45
  311.      A59: (C2) +$A$45
  312.      A60: (C2) +$A$45
  313. .paè     A61: 'This example calculates the present value of a ten-year income stream.
  314.      A64: (C2) U 250
  315.      B64: ' annual income
  316.      A65: (P1) U 0.1
  317.      B65: ' interest rate
  318.      A67: (C2) @NPV(A65,A71..A80)
  319.      B67: ' present value
  320.      A71: (C2) +$A$64
  321.      A72: (C2) +$A$64
  322.      A73: (C2) +$A$64
  323.      A74: (C2) +$A$64
  324.      A75: (C2) +$A$64
  325.      A76: (C2) +$A$64
  326.      A77: (C2) +$A$64
  327.      A78: (C2) +$A$64
  328.      A79: (C2) +$A$64
  329.      A80: (C2) +$A$64
  330.  
  331. -----
  332.  
  333.  
  334.  
  335.      A81: 'This example calculates the present value of a ten-year investment.
  336.      A83: (C2) U 1000
  337.      B83: ' investment amount
  338.      A84: (C2) U 250
  339.      B84: ' annual payout
  340.      A85: (P1) U 0.1
  341.      B85: ' interest rate
  342.      A87: (C2) @NPV(A85,A90..A100)
  343.      B87: ' present value
  344.      A90: (C2) -A83
  345.      A91: (C2) +$A$84
  346.      A92: (C2) +$A$84
  347.      A93: (C2) +$A$84
  348.      A94: (C2) +$A$84
  349.      A95: (C2) +$A$84
  350.      A96: (C2) +$A$84
  351.      A97: (C2) +$A$84
  352.      A98: (C2) +$A$84
  353.      A99: (C2) +$A$84
  354.      A100: (C2) +$A$84
  355. .paè
  356.      A101: '     This example uses both @NPV and @IRR and a more complex
  357.      A102: 'example of the @IF function.
  358.      A105: (C2) U 1000
  359.      B105: ' investment amount
  360.      E105: @NPV(A107,A110..A120)
  361.      F105: 'p.v. at A107 percent
  362.      A106: (C2) U 250
  363.      B106: ' annual payout
  364.      A107: (P1) @IRR(0.1,A110..A120)
  365.      B107: ' internal rate of return
  366.      E107: @IF(@ABS(@NPV(A107,A110..A120))<0.001,0,@NPV(A107,A110..A120))
  367.      F107: 'better looking
  368.      A110: (C2) -A105
  369.      A111: (C2) +$A$106
  370.      A112: (C2) +$A$106
  371.      A113: (C2) +$A$106
  372.      A114: (C2) +$A$106
  373.      A115: (C2) +$A$106
  374.      A116: (C2) +$A$106
  375.      A117: (C2) +$A$106
  376.      A118: (C2) +$A$106
  377.      A119: (C2) +$A$106
  378.      A120: (C2) +$A$106
  379.  
  380. ------
  381.  
  382.  
  383.      A121: 'This example illustrates a table lookup function.
  384.      A123: 'Income:
  385.      B123: (G) U 25000
  386.      A124: 'Rate:
  387.      B124: (P0) @VLOOKUP(B123,A130..B140,1)
  388.      A126: '        Tax Rate Table
  389.      A128: '      Income
  390.      B128: "Rate
  391.      A130: (C2) 0
  392.      B130: (P0) 0
  393.      A131: (C2) 10000
  394.      B131: (P0) 0.05
  395.      A132: (C2) 20000
  396.      B132: (P0) 0.1
  397.      A133: (C2) 30000
  398.      B133: (P0) 0.15
  399.      A134: (C2) 40000
  400.      B134: (P0) 0.2
  401.      A135: (C2) 50000
  402.      B135: (P0) 0.25
  403.      A136: (C2) 60000
  404.      B136: (P0) 0.3
  405.      A137: (C2) 70000
  406.      B137: (P0) 0.35
  407.      A138: (C2) 80000
  408.      B138: (P0) 0.4
  409.      A139: (C2) 90000
  410.      B139: (P0) 0.45
  411.      A140: (C2) 100000
  412.      B140: (P0) 0.5
  413.  
  414. .paè     A141: '   This function is more complex.  Try changing the "sex" in
  415.      A142: 'F145 and see what happens to the average "amount."
  416.      A144: 'NAME
  417.      C144: ^SEX
  418.      D144: "AMOUNT
  419.      F144: 'SEX
  420.      A145: 'John Press
  421.      C145: ^m
  422.      D145: U 12
  423.      F145: U 'm
  424.      A146: 'Roberto Lastrico
  425.      C146: ^m
  426.      D146: U 22
  427.      A147: 'Natalia Lastrico
  428.      C147: ^f
  429.      D147: U 30
  430.      A148: 'Samantha Press
  431.      C148: ^f
  432.      D148: U 100
  433.      A149: 'Carla Lastrico
  434.      C149: ^f
  435.      D149: U 200
  436.      A150: 'Thomas Lasorda
  437.      C150: ^m
  438.      D150: U 12
  439.      A151: 'Evelyn Ashford
  440.      C151: ^f
  441.      D151: U 300
  442.      A152: 'Mary Decker
  443.      C152: ^f
  444.      D152: U 400
  445.      A153: 'Carl Lewis
  446.      C153: ^m
  447.      D153: U 21
  448.      A154: 'Edwin Moses
  449.      C154: ^m
  450.      D154: U 18
  451.      A155: 'William Banks
  452.      C155: ^m
  453.      D155: U 11
  454.      A157: 'average
  455.      D157: @DAVG(A144..D155,3,F144..F145)
  456.  
  457. 
  458.  
  459.  
  460.