Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Jul 23, 2024
0 parents commit 772e19f
Show file tree
Hide file tree
Showing 35 changed files with 579 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# TI Programs

A collection of various programs for TI calculators. Programs are written in TI-BASIC, and are in `.8xp` and `.txt` formats.

## Programs

To easily browse and download programs check out the website: [TI Programs](https://ti-programs.cqb13.dev/)

## Contributing

If you would like to add a program, please follow the guidelines below:

1. Fork this repository.
2. Create a folder in the `programs` directory with your GitHub username.
3. Create a folder in your directory with the lowercase name of your program.
4. Add your program in both `.8xp` and `.txt` formats.
- If you do not have a `.txt` version of your program, you can use [TI-Tools](https://github.com/cqb13/ti-tools) or an alternative to convert your `.8xp` file to a `.txt` file.
5. Create an `about.md` file in your program's folder with the following format:

```markdown
# Program Name

Description of the program.

## Credits

Author: Your GitHub username
```

_You can include additional information in the `about.md` file, however you must always include a Description immediately after the program name header, along with the `Author:` in the credits section_

6. Create a pull request to this repository with your changes.

## License

This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
By contributing to this repository, you agree to license your contributions under the MIT License.
Binary file added programs/cqb13/arthmean/ARTHMEAN.8xp
Binary file not shown.
17 changes: 17 additions & 0 deletions programs/cqb13/arthmean/ARTHMEAN.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARTHMEAN
Created by TI Connect CE 6.0.1.344
Program
RAM
accessible
TI-84+
ClrHome
Input "AV1: ",A
Input "D: ",D
Input "N: ",N
ClrHome
While N!=2
A+D->X
X->A
N-1->N
Disp X
End
7 changes: 7 additions & 0 deletions programs/cqb13/arthmean/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Arithmetic Mean

Calculates the arithmetic mean of a sequence of numbers. Given the first term of the sequence (AV1), the common difference (D), and the number of terms in the sequence (N), the program calculates the arithmetic mean of the sequence.

## Credits

Author: cqb13
Binary file added programs/cqb13/arthsum/ARTHSUM.8xp
Binary file not shown.
17 changes: 17 additions & 0 deletions programs/cqb13/arthsum/ARTHSUM.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARTHSUM
Created by TI Connect CE 6.0.1.344
Program
RAM
accessible
TI-84+
ClrHome
Input "AV1: ",B
Input "D: ",D
Input "AVN: ",A
A-B->X
X/D->Y
Y+1->N
A+B->V
V/2->U
U*N->T
Disp T
7 changes: 7 additions & 0 deletions programs/cqb13/arthsum/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Arithmetic Sum

Calculates the arithmetic sum of a sequence of numbers. Given the first term of the sequence (AV1), the common difference (D), and the last term of the sequence (AVN), the program calculates the arithmetic sum of the sequence.

## Credits

Author: cqb13
Binary file added programs/cqb13/comp/COMP.8xp
Binary file not shown.
70 changes: 70 additions & 0 deletions programs/cqb13/comp/COMP.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
COMP
Created by TI Connect CE 6.0.1.344
Program
RAM
accessible
TI-84+
ClrHome
Disp "A=P[e]^RT"
Disp "A: ANSWER (1)"
Disp "P: PRINCIPLE (2)"
Disp "R: RATE(DECI) (3)"
Disp "T: TIME (4)"
Input "SOLVE FOR: ",O
If O=1
Goto 1
If O=2
Goto 2
If O=3
Goto 3
If O=4
Goto 4
Else
Disp "INVALID OPTION"
Stop
Lbl 1
ClrHome
Input "P: ",P
Input "R: ",R
Input "T: ",T
R*T->X
[e]^X->Y
P*Y->Z
Disp Z
Stop
Lbl 2
ClrHome
Input "A: ",A
Input "R: ",R
Input "T: ",T
R*T->X
[e]^X->Y
A/Y->Z
Disp Z
Stop
Lbl 3
ClrHome
Input "A: ",A
Input "P: ",P
Input "T: ",T
A/P->X
ln(X->Y
Y/T->Z
Z*100->V
ClrHome
Output(1,1,"DECI: "
Output(1,7,Z
Output(2,1,"PCENT: "
Output(2,8,V
Pause
ClrHome
Stop
Lbl 4
Input "A: ",A
Input "P: ",P
Input "R: ",R
A/P->X
ln(X->Y
Y/R->Z
Disp Z
Stop
7 changes: 7 additions & 0 deletions programs/cqb13/comp/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Compounded Interest

Compounded Interest is a program that calculates the compounded interest of a principle amount over a given time period. The user can choose to solve for the principle, rate, time, or the answer. The program will then prompt the user for the necessary values and output the result.

## Credits

Author: cqb13
Binary file added programs/cqb13/expfnp/EXPFNP.8xp
Binary file not shown.
36 changes: 36 additions & 0 deletions programs/cqb13/expfnp/EXPFNP.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
EXPFNP
Created by TI Connect CE 6.0.1.344
Program
RAM
accessible
TI-84+
ClrHome
Disp "Y=AB^X"
Input "P.1(X): ",X
Input "P.1(Y): ",Y
Input "P.2(X): ",Z
Input "P.2(Y): ",V
If X!=0
Goto 1
If X=0
Goto 2
Lbl 1
Disp "P.1(X) MUST=0"
Stop
Lbl 2
Y->A
V/A->U
U^(1/Z)->B
ClrHome
Output(1,1,"A="
Output(1,3,A
Output(2,1,"B="
Output(2,3,B
Output(4,1,"Y="
Output(4,3,A
Output(4,4,"*"
Output(4,5,B
Output(4,6,"^X"
Pause
ClrHome
Stop
7 changes: 7 additions & 0 deletions programs/cqb13/expfnp/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Exponential Function

Calculates the exponential function of the form Y=AB^X. Given two points (X1,Y1) and (X2,Y2), the program calculates the values of A and B in the exponential function. The program then displays the values of A and B, and the exponential function itself.

## Credits

Author: cqb13
Binary file added programs/cqb13/expgd/EXPGD.8xp
Binary file not shown.
89 changes: 89 additions & 0 deletions programs/cqb13/expgd/EXPGD.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
EXPGD
Created by TI Connect CE 6.0.1.344
Program
RAM
accessible
TI-84+
ClrHome
Disp "EXPONENTIAL GROWTH/DECAY"
Disp "GROWTH (1)"
Disp "DECAY (2)"
Input "FORMULA: ",F
If F=1
Goto 1
If F=2
Goto 2
Else
Disp "INVALID INPUT"
Stop
Lbl 1
ClrHome
Disp "Y=A[e]^KT
Goto 3
Lbl 2
ClrHome
Disp "Y=A[e]^~KT
Goto 3
Lbl 3
Disp "Y: FINAL VAL (1)"
Disp "A: INIT VAL (2)"
Disp "K: FACTOR (3)"
Disp "T: TIME (4)"
Input "SOLVE FOR: ",O
If O=1
Goto 4
If O=2
Goto 5
If O=3
Goto 6
If O=4
Goto 7
Else
Disp "INVALID OPTION"
Stop
Lbl 4
ClrHome
Input "A: ",A
Input "K: ",K
Input "T: ",T
If F=2
K*~1->K
K*T->X
[e]^X->Y
A*Y->Z
Disp Z
Stop
Lbl 5
ClrHome
Input "Y: ",Y
Input "K: ",K
Input "T: ",T
If F=2
K*~1->K
K*T->X
[e]^X->Z
Y/Z->U
Disp U
Stop
Lbl 6
ClrHome
Input "Y: ",Y
Input "A: ",A
Input "T: ",T
Y/A->X
ln(X->Z
Z/T->U
Disp U
Stop
Lbl 7
ClrHome
Input "Y: ",Y
Input "A: ",A
Input "K: ",K
If F=2
K*~1->K
Y/A->X
ln(X->Z
Z/K->U
Disp U
Stop
7 changes: 7 additions & 0 deletions programs/cqb13/expgd/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Exponential Growth and Decay

Calculates a value from the exponential growth or decay formula Y=Ae^(KT). The user can choose between growth and decay, and then choose which variable to solve for. The program then prompts the user for the necessary values and calculates the desired variable. The program can solve for the final value (Y), initial value (A), factor (K), or time (T) in the exponential growth or decay formula. The program also accounts for decay by using the negative reciprocal of the factor (K) when solving for decay.

## Credits

Author: cqb13
Binary file added programs/cqb13/expgds/EXPGDS.8xp
Binary file not shown.
38 changes: 38 additions & 0 deletions programs/cqb13/expgds/EXPGDS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
EXPGDS
Created by TI Connect CE 6.0.1.344
Program
RAM
accessible
TI-84+
ClrHome
Disp "FIND T (1)"
Disp "FIND K (2)"
Input "SELECT: ",O
ClrHome
Input "PCENT OF OG: ",P
If O=1
Goto 1
If O=2
Goto 2
Else
Disp "INVALID NUM"
Stop
Lbl 1
Input "K: ",V
Goto 3
Lbl 2
Input "T: ",V
Goto 3
Lbl 3
ln(P->X
X/V->Y
ClrHome
If O=1
Output(1,1,"T="
If O=2
Output(1,1,"K="

Output(1,3,Y
Pause
ClrHome
Stop
7 changes: 7 additions & 0 deletions programs/cqb13/expgds/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Exponential Growth and Decay

Helps you find the exponential growth rate (T) or constant (K) based on the percentage of the original value. The user can choose to find either T or K by selecting the corresponding option, inputting the percentage, and the known value. The program then calculates and displays the result.

## Credits

Author: cqb13
Binary file added programs/cqb13/geoseq/GEOSEQ.8xp
Binary file not shown.
Loading

0 comments on commit 772e19f

Please sign in to comment.