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