# MBASIC Business Programs

Business applications and tools

## Available Business Programs

### Airmiles

Airline distance calculator - calculates great circle distances between 330 cities worldwide using latitude/longitude coordinates (adapted by Jim Lill, 1987)

**Year:** 1987
**Tags:** aviation, distance, calculator, geography

**[Download airmiles.bas](airmiles.bas)**

---

### Budget

Recursive budgeting model - financial planning tool for budget analysis and forecasting (by O.E. Dial, from Personal Computing 1977)

**Author:** O.E. Dial
**Source:** Personal Computing May/June 1977
**Year:** 1977
**Tags:** budgeting, finance, planning

**[Download budget.bas](budget.bas)**

---

### Cpm-Pert

CPM/PERT project management simulator - critical path method and program evaluation review technique for project planning (by Richard Parry, adapted by Charles H Strom, from Interface Age 1981)

**Author:** Richard Parry, adapted by Charles H Strom
**Source:** Interface Age Feb 1981
**Year:** 1981
**Tags:** project-management, cpm, pert, planning

**[Download cpm-pert.bas](cpm-pert.bas)**

---

### Diary

Daily diary and appointment manager - calendar-based scheduling and note-taking system (by Don Weir, from Kilobaud/Microcomputing 1981)

**Author:** Don Weir
**Source:** Kilobaud/Microcomputing Sept 1981
**Year:** 1981
**Tags:** calendar, diary, appointments, scheduling

**[Download diary.bas](diary.bas)**

---

### Finance

Financial calculator collection - computes future value, annuities, regular deposits, investments, withdrawals, and other business calculations

**Year:** 1980s
**Tags:** finance, calculator, investment, annuity

**[Download finance.bas](finance.bas)**

---

### Interest

Loan interest calculator - computes payment amounts for loans based on interest rate, loan amount, years, and payment frequency

**Year:** 1980s
**Tags:** loan, interest, calculator, payment

**[Download interest.bas](interest.bas)**

---

### Log10K

T.A. Elkins Log(10k!) benchmark - computes number of decimal digits in 10,000 factorial (exact answer: 35660) - performance testing tool (from Computerworld 1987, adapted by Jim Lill)

**Author:** T.A. Elkins, adapted by Jim Lill
**Source:** Computerworld April 20, 1987
**Year:** 1987
**Tags:** benchmark, performance, factorial, math

**[Download log10k.bas](log10k.bas)**

---

### Mortgage

Mortgage analysis calculator - computes interest rate, loan life, amount borrowed, or monthly payment for mortgage planning (1969)

**Year:** 1969
**Tags:** mortgage, loan, calculator, real-estate

**[Download mortgage.bas](mortgage.bas)**

---

## How to Use

1. **Download** the .bas file you want to use
2. **Open MBASIC** in your preferred UI (Web, Tkinter, Curses, or CLI)
3. **Open the file:**
   - **Web/Tkinter UI:** Click File → Open, select the downloaded file
   - **CLI:** Type `LOAD "filename.bas"`
4. **Run:** Type `RUN` or press the Run button

## About These Business Programs

These programs are from the CP/M and early PC era (1970s-1980s), 
preserved from historical archives including OAK, Simtel, and CP/M CD-ROMs.
