ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
3.1 KiB

  1. RATE OF RETURN - CONSTANT INFLOW
  2. THIS PROGRAM WILL CALCULATE THE RATE OF RETURN OF AN
  3. INVESTMENT COSTING $A NOW AND RETURNING $B DURING EACH OF THE
  4. NEXT N EQUAL TIME PERIODS(YEARS E.G.)
  5. INPUT IS THE INITIAL INVESTMENT,PERIODIC DOLLAR RETURNS AND
  6. NUMBER OF PERIODS.
  7. PRESS ENTER TO BEGIN.?
  8. INITIAL INVESTMENT ? 1000
  9. PERIODIC RETURN = ? 500
  10. NUMBER OF PERIODS = ? 10
  11. PASS # 0 R = 11
  12. PASS # 1 R = 21.
  13. PASS # 2 R = 31.
  14. PASS # 3 R = 41
  15. PASS # 4 R = 51
  16. PASS # 5 R = 42.
  17. PASS # 6 R = 43.
  18. PASS # 7 R = 44.
  19. PASS # 8 R = 45.
  20. PASS # 9 R = 46.
  21. PASS # 10 R = 47.
  22. PASS # 11 R = 48.
  23. PASS # 12 R = 49.
  24. PASS # 13 R = 50.
  25. PASS # 14 R = 49.1
  26. RATE OF RETURN IS 49.1 % PER PERIOD
  27. IF THIS DATA IS MONTHLY WE MAY MULTIPLY BY 12 TO GET AN
  28. ANNUAL RATE . PRESS <ENTER> FOR THIS COMPUTATION, 1 <ENTER>
  29. OTHERWISE?
  30. ANNUAL RATE OF RETURN IS 589.2 %
  31. PRESS <ENTER> FOR MORE COMPUTATIONS? -1