Output of file : EXAMPLE2 contained in archive : SCIEQS13.ZIP
!echo
; This example file shows how to solve compound interest problems.
;
; The compound interest formula is
;
; future_value = present_value * (1 + interest_rate) ^ n
;
; First create a user-defined function for future value

fv(pv,i,n) = pv * (1 + i) ^ n

; Now you can use this function to compute future values with
; different parameter values.

; If \$1000.00 is invested at 7% interest compounded annually, what
; will be the value at the end of eight years?

future_value = fv(1000.00, 0.07, 8)

; The answer is displayed and also stored in the variable future_value
; for later use in other expressions.

!noecho

### 3 Responses to “Category : Science and EducationArchive   : SCIEQS13.ZIPFilename : EXAMPLE2”

1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/