TI-BASIC Programs
This page is a place for all of the various simple programs I have made on my TI-84 Plus CE calculator. Do us both a favor and don't use these to cheat on tests.
All programs about triangles use this triangle:
- LAWCOSA
- - A program that uses the law of cosines to find the side c opposite of the angle C.
- LAWCOSS
- - A program that finds angle C from all sides of a triangle.
- TRIAREA
- - Gets the area of a triangle from side lengths. Also returns S in case you need to show your work in that regard.
- PYTHAGOR
- - Finds c based on a and b using the Pythagorean Theorem.
- QUADFORM
- - A program that finds the 0's of a quadratic, kind of redundant considering PolySmlt is a thing
- SLOPE
- - Finds the slope given two points.
- B16DEC
- - Converts a 16-bit binary number to a decimal one. Least significant bits first.
- MODULO
- - Does a floor divide and provides the remainder. Very slow for large dividends and small divisors because it uses a while loop. Also completely unnecessary since TI-84s have a built-in mod function.
- HEX8DEC
- - Converts an 8-digit hexadecimal number to decimal. You can use letters A, B, C, D, E, and F for their respective hex values. Least significant digits first.
- TOBASE
- - Converts decimal number A to base B, putting the resulting digits into list L2 and the resultant of the remainder divison in L1, rounded down. As per normal base conversion, the digits in the base are ascending in L2 but the resultant steps are in descending order. If you want to learn more about base conversion, check out this article by Math is Fun. Note: This program does not clear L1 and L2 before working, and instead writes over their content. This can be confusing if they weren't already cleared so I recommend you do this yourself before using it.
- LAWCOSA